On 24 June 2008 at 21:33, Dan Bron said:

> Yuvaraj Athur Raghuvir wrote:
> 
> > 1) Did you try opening j602\system\extras\config\colorsmp.ijs 
> > with notepad and wordpad? Do you see the difference in the 
> > rendering of Line No 16? Is this because notepad is unable to 
> > recognize unicode?
> 
> Ah, now I understand.  I just tried this experiment, and I reproduced your
> results:  the characters in Wordpad were slightly more distinguishable
> than in Notepad.  In particular, Asian characters were still all
> featureless rectangles, but the Latin-like letters were not.  They were
> rendered as other (still incorrect) glyphs.  
> 
> I think the issue is that neither Notepad nor Wordpad recognize that the
> file is UTF8.  Notepad believe it's ASCII, and renders all
> non-printable-ASCII characters the same way (with that rectangle).
> 
> Wordpad believes it's some legacy (non-Unicode) international encoding
> (aka "extended ASCII").
> 
> I (think) this conclusion is borne out by a further experiment.  I
> prepended the UTF8 BOM to the file and opened it in Notepad and Wordpad
> again.  Notepad, like before, rendered all unknown characters as
> rectangles.  But Wordpad rendered all the Unicode characters
> properly.     Even after I explictly set the font to "Courier New" the foreign
> characters were still rendered properly (I'm surprised; I didn't think
> Courier had those chars.  And I'm pretty sure it WAS Courier; at least the
> chars looked monospaced).

Courier doesn't. Courier New (a different font, with glyphs differently 
proportioned) does. Take a look using Charmap.


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to