8/16/2025 10:30:00 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Globalization, file encoding and the euro sign
Posted: 20 Nov 08 3:07 AM
|
Using a method to format some double value, I used a euro symbol € in a quickform (something like String.Format("{0:€ 0}", ...).
The generated code is perfect and utf-8 encoded. Problem is IIS is unaware of this, so renders the data as it is 8-bit, local codepage encoded (the euro symbol becomes a 3-symbol mess).
Searching around I discovered that this is the default for ASP.NET (interpreting files as written with the local codepage).
You have to specify your codepage in web.config.
Adding the following in the system.web section:
<globalization fileEncoding="utf-8" />
is sufficient to solve the problem, apparently.
Anyone else got this problem? Anyone knows any problem I could run into?
And why Sage did not setup that property?
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|