PDA

View Full Version : Help with international characters and Mac


transistor
10-16-2006, 10:24 PM
I am developing (or trying to :D) on a Mac.
A huge problem I'm having right now is fonts because I develop in spanish and therefore I need to use accented characters, like áéíóú and ñ.

My main lzx document starts with a <?xml version="1.0" encoding="iso-8859-1"?> declaration and I have a document with the labels in spanish that is saved as Western (ISO Latin 1) using TextWrangler.

I now know that the default font included with OpenLaszlo does not include these characters, so I get a funny symbol.

So, I tried some TTF that come with the Mac. I get a "Can't find Cmap table" with those.

Next, I copied a TTF from a Windows machine and it loads, but the accented characters does not applear, like for "Español" I get "Espaol".
My guess is that the ASCII for ñ on my Mac is different from the one in Windows, so that's why it does not show up.

What can I do? Anyone developing in Mac solved this issue?
Any ideas? :confused:
Thank you