> On Fri, Sep 4, 2009 at 11:14 PM, Harold > Hallikainen wrote: >> Thanks! That's a nice site, but I don't see anything about changing >> UTF-8 >> strings to CP1252. Is it there somewhere? And yes, this is to run on a >> PIC24H. >> > > The code tables are in ff.h. > > Regards, > Mark > markrages@gmail Thanks! I see the code tables there. I also see various Unicode tables in the options directory. It looks like they're doing a brute force lookup. Since 16 bit Unicode would require 65536 entries and CP1252 only has 256 values, and many of the Unicode values between 0x80 and 0xff match the CP1252 value, I'm thinking of a switch case to handle the exceptions. I've already written a UTF-8 to 16 bit Unicode converter for another project, so I think I'll use that to drive my switch case. Again, thanks for the comments! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist