At 12:00am -0800 00-11-15, Palm Developer Forum digest wrote:
>Subject: Re: Can't do non-ASCII characters in Rez files on Windows?!
>From: John Marshall <[EMAIL PROTECTED]>
>Date: Tue, 14 Nov 2000 11:24:28 -0800
>X-Message-Number: 53
>
>Ken Krugler <[EMAIL PROTECTED]> wrote:
> > 3.1 and later assumes that certain glyphs exist in the control range
> > of the four regular (non-symbol) fonts. Specifically:
>
>Don't forget this one:
>
> > Character MacRoman <= Palm 3.0 >= Palm 3.1
> > --------- -------- ----------- -----------
> > chrCommandStroke 0xC3 0x9D 0x16
> > chrShortcutStroke 0xC5 0x9E 0x17
> > chrEllipsis 0xC9 0x85 0x18
>
> chrNumericSpace [1] 0x80 0x19
>
> > Since
> > app shouldn't typically need to have either of these characters in
> > resource-based text, it's unlikely that the change will impact
> > anybody.
>
>Sure. I can't think of any reason why somebody would want to have a
>numeric space in resource-based text. :-(
>
> John
>
>[1] There doesn't seem to be a corresponding character in MacRoman.
Sigh. And I thought I was going to get some coding done today.
The only way to get a numeric space in a resource using PalmRez and
one of the two transliterations being discussed is to use the
undocumented feature of entering the 0x7F character code (== delete)
into your text data. At that point it gets converted into either 0x80
for <=3.0, or 0x19 for >=3.1. The issue of why the numeric space
moved has been beaten to death in my previous emails to the list on
this topic.
Whatever the method anybody is using to get a numeric space into
resource-based text, it's probably a bad idea. You can accomplish
on-screen right justification via other means, if that's the goal. I
guess somebody could be using the numeric space as a non-breaking
space, in which case you'll have to have two sets of data if your app
runs on pre-3.1 versions of Palm OS.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/