in reply to ASCII characters not displayed correctly in csv file

As Zaxo points out, it looks like your data isn't stored as plain text, but as text with HTML-style entities embedded in it. A browser makes the conversion automatically but you'll need to do it yourself.

It's also worth pointing out that you need to know which character set you are dealing with as they can all have differing definitions for characters outside of the ASCII set (ASCII only defines characters up to 127 - 174 is not an ASCII character). The ® sign is number 174 in the ISO-8859-1 character set (which is probably the most common ASCII extension) so that may well the character set that you are dealing with.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: ASCII characters not displayed correctly in csv file

Replies are listed 'Best First'.
Re^2: ASCII characters not displayed correctly in csv file
by iburrell (Chaplain) on Jul 14, 2004 at 16:13 UTC
    HTML and XML numeric entities are always in Unicode character set. The range from 127 to 255 in Unicode is the same as ISO-8859-1.