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

  • Home
  • SEARCH
  • 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 6850023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:04:24+00:00 2026-05-27T01:04:24+00:00

I have a problem with the FormatNumber function in Classic ASP. When this overload

  • 0

I have a problem with the FormatNumber function in Classic ASP.

When this overload is used
FormatNumber(cdbl(aRecs(3, i)) , 0, 0, 0), the number appears fine e.g. 160 703

However, when this overload is used
FormatNumber(aRecs(3, i),0,false,false,true),”0″), the number appears with a special character as the thousand seperator e.g. 160Â 703

N/B: aRecs(3, i) refers to a values being retrieved from a recordset (from the database).

On the production server(Windows Server 2008) everything works fine, however, when i setup a dev environment (windows 7 as well as Windows server 2008), thats were i get this problem. I have tried setting a thousand seperator in my regional settings to no avail

Am i missing something. Also, this is a very old project and i cannot go and modify all occurances of calls to this function.

  • 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-27T01:04:25+00:00Added an answer on May 27, 2026 at 1:04 am

    Add this line of code to the top of your page:-

     Response.CharSet = "UTF-8"
    

    This problem is usually a result of a mismatch between the response code page (in your case I’m guessing 65001) and the CharSet value in the content type header. Usually no CharSet value is delivered so the browsers guesses, typically using the current user locale to determine the codepage.

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

Sidebar

Related Questions

I have problem with pointers. This is working fine - int main(void){ char *w;
I have problem with starting processes in impersonated context in ASP.NET 2.0. I am
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have problem with fancybox. I want to write a function that will run
I have problem with code. I have written a function for extracting a parameter,
Have problem while getting data from Memcached on .NET MVC solution. I have this
I have problem in my split Sentence function . The idea of ​​my function
I have a problem now with ASP MVC 3 when trying to rend a
I have problem with this method in NLog library: NLog.Targets.Wrappers.AsyncTargetWrapper.ProcessPendingEvents(object state) It consume too
I have problem with configuring NODE.JS. I was trying to install node.js with this

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.