PC Review


Reply
Thread Tools Rate Thread

Codepages and displaying euro sign

 
 
=?Utf-8?B?T2xsaWU=?=
Guest
Posts: n/a
 
      4th Jul 2007
We are outputting a CSV file from a .Net (C#) application and it is writing
the euro currency sign (€), we are using the default encoding for the
StreamWriter class which is UTF-8 (65001).

When the file is viewed in notepad, it displays the character correctly but
in MS Excel 2003 (XP SP2) the character is translated to '€'.. We can
resolve the issue by specifiying the windows 1252 codpage when generating the
file, but we are wondering if this is the correct approach or it there a more
suitable solution?

Also what is the codepage used for MS Excel 2003? - is this dependant on the
OS Locale at all.

Cheers

Ollie Riches

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
euro sign in an email rather than £ sign? Mog Microsoft Outlook Discussion 1 24th Jun 2009 01:13 PM
Euro sign =?Utf-8?B?QWRkeQ==?= Windows XP General 7 4th Oct 2006 08:28 AM
How do I change my $ sign for a pounds/euro sign in Outlook Expres =?Utf-8?B?b25nbGlkZXNsb3Bl?= Windows XP Accessibility 1 23rd Mar 2006 09:46 PM
XL invoice replace the dollar sign with euro sign =?Utf-8?B?UGFtZWxhIGNhc2FyZXM=?= Microsoft Excel New Users 2 16th Dec 2005 08:21 PM
Euro sign in .Net rphil Microsoft ASP .NET 4 28th Apr 2005 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 AM.