Hi, some trouble with character encoding, I want to count how many times out of the 255 ASCCI characters, how many times each printable character shows up so I have a text file with:
€ €"" ®

and I wrote a program to count the frequencies and it's all fine, but in command line (command prompt in Windows), the ® shows up as « while the shows up as ?. €

Output in command prompt:
====================
Letter shows up: 2
Letter " shows up: 2
Letter ? shows up: 2
Letter « shows up: 1

I can produce a ® character in command prompt by typing: ALT + 0174(on Numpad) and same with € (ALT + 0128), so why does command prompt output some other character? I read in the text file using ISO-8859-1 (which covers all of ASCII).