[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Hi-bit characters in regex's



At 9:46 AM -0400 4/16/2000, Chris Nandor wrote:
>You mean an accented character in one font is always the same character
>code as the same character in another font?  No, this isn't true.  This is
>only true when the two character encodings are the same.  A 'c' with a
>cedilla (that is, 'ç') in MacRoman is decimal 231 in Latin-1 encodings, and
>141 in MacRoman encodings.  If you found that they are always the same,
>then you are probably testing only MacRoman fonts (or Latin-1 fonts, etc.).
>Almost all non-dinbats English-alphabet fonts on Mac OS are MacRoman, so
>just comparing fonts won't help much.  I have several Latin-1 fonts for Mac
>OS, encluding Latin-1 versions of ProFont and Times.
>
>So there are standards, and most of your fonts on Mac OS will follow the
>same standard: MacRoman.

Yeah, i only tested MacRoman.  I tested by opening a test document in 
BBEdit and just changing the display font.  I did the same on the 
windows side (well, using Notepad).  So I just tested whatever was 
the default on windows.  Since I'm interested in the encodings likely 
encountered in filenames I figure I'll stick with it until I run into 
a problem 8-)

Kevin


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org