Re: How to read unicode
"Chris Smith" <cdsmith@twu.net> wrote in message
news:MPG.20f5a8c5693c730a9898c1@news.altopia.net...
JR <jriker1@yahoo.com> wrote:
2. If in US, do I have to convert the characters from their graphical
representation to their Unicode numeric equivalent?
You can't draw characters to the console that aren't in the character
set for that console. So you'll either need to convert your code to a
GUI, or give up on drawing Japanese characters on a non-Japanese
terminal.
3. If so is there some way to parse the source data and convert it
from like MS Mincho to Unicode?
I don't know what MS Mincho is. Sorry.
It's the name of a font which contains glyph for Japanese characters
(and perhaps CJK characters in general) made by Microsoft. It comes with
Windows and usually when you're using a font that otherwise doesn't
support CJK characters (e.g. Times or Arial), Windows will silently
substitute the Mincho font instead, so it's one of the most common fonts
used for displaying CJK characters (at least in the Windows world).
The poster also made this post which implies that (s)he is pretty
confused about how Unicode, font, and related topics works:
http://groups.google.ca/group/comp.lang.java.programmer/browse_thread/thread/853bd25f432f9df5/8804136f5c810c41
<quote>
I have some text files with western characters in english, and
japanese fonts in them.
</quote>
I saw that post before seeing this one, so I thought it was just
sloppy wording or mixed up terminology, but now it really sounds like the
OP is conflating fonts and text at the conceptual level.
- Oliver