Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6193671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:09:38+00:00 2026-05-24T03:09:38+00:00

I am essentially exporting a webpage to Excel format. The export works fine, but

  • 0

I am essentially exporting a webpage to Excel format. The export works fine, but when exporting Currency values that were formatted ToString(“C”) results in displaying the  character in the Excel cell before any space in the money value.
For Example:
decimal Invoice = 322800.38;
decimal Allocated = 695.55;

Label1.Text = Invoice.ToString(“C”);
Label2.Text = Allocated.ToString(“C”);

After the export the value in excel is: R 322 827,27 (Wrong)
and R 695,55 (Correct)

Any ideas?
Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:09:39+00:00Added an answer on May 24, 2026 at 3:09 am

    That’s actually caused by a mis-interpretation of the encoding used to save it, when you have a hard space (160), usually given as   in a web page. It looks like the web page is encoded as UTF8, but you’re loading it into windows ‘ANSI’ format.

    It depends on precisely what you’re doing and how you’re exporting, but you need to either change the encoding of the web page, or have excel use the encoding it was exported to when you import it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our product has the requirement of exporting its native format (essentially an XML file)
I had a trouble exporting UTF-8 data to Excel, but now it's ok, because
I found similar questions but the answer didn't satisfy me. Essentially I would like
Essentially what I'm asking is, what is a delegate, but also HOW EXACTLY do
Essentially, I'd like a special form of an Interface for Exceptions that requires anyone
Essentially I have a class that is used for safe invocation of delegates. Safe
Essentially I need to specify a JQuery variable in my webpage's body tag, and
A question on variants. Im aware that variants in Excel vba are both the
Poorly worded title, but what I want is to do essentially what StackOverflow does
Essentially I want to know if in VB.NET 2005 if using a sqlcommand and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.