Re: Dealing with non-standard character sets...
Re: Dealing with non-standard character sets...
- Subject: Re: Dealing with non-standard character sets...
- From: Michael Heinz <email@hidden>
- Date: Fri, 7 Oct 2005 19:31:54 -0400
Heh....
It ain't UTF anything. It's "HP ASCII" - 7 bit ASCII with another 127
characters reserved for various math symbols.
But, to your point - I can do a look up table, but what do I do with
it then? I can create a font with the required characters, (actually,
I already have one) but how do I convince Cocoa that char 143 is a
right arrow and shouldn't be translated into an accented letter c?
On Oct 7, 2005, at 6:18 PM, Ricky Sharp wrote:
On Oct 7, 2005, at 3:37 PM, Michael Heinz wrote:
I'm trying to interface with a device that uses an ol' fashioned
custom ASCII character set (basically, 7-bit ASCII plus a lot of
special symbols). What I'd like to do is display information from
the device in a Cocoa window, but I can't figure out what I need
to do to get this to work. I have a truetype font that matches the
device; and I set the textfield to use that font, but the special
characters seem to be getting mapped to other symbols.
The device should have documentation on what encoding it uses.
Perhaps it's using UTF-7 like e-mail?
Or, you may just have to make a lookup table and do your own
translation.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden