realbasic-nug
[Top] [All Lists]

Re: How to find and replace Shift-JIS characters

To: REALBasic-NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: How to find and replace Shift-JIS characters
From: Jeffrey Ellis <support at groundlevel dot net>
Date: Thu, 08 Jan 2004 16:45:01 -0800
Rxheader:
on 08.01.04 13:42, "Joseph J. Strout" <joe at realsoftware dot com> wrote:

> Subject: Re: How to find and replace Shift-JIS characters
> From: "Joseph J. Strout" <joe at realsoftware dot com>
> Date: Thu, 8 Jan 2004 15:31:03 -0600
> 
> At 12:02 PM -0800 1/8/04, Jeffrey Ellis wrote:
> 
>> We have our app built from the start in English/U.S. We have all our
>> displayed strings set as Constants, with Japanese characters being among the
>> languages we use. We then build the Japanese version using Japan as the
>> Region and Japanese as the language. So if there is an encoding problem I'm
>> not sure how else we would handle it.
> 
> I'd say you have three options: don't use the backslash character, or
> use a font where that code point is drawn as a backslash instead of a
> Yen, or upgrade to 5.x.
> 
>> In any case, it seems that I'm asking a fairly simple question as to the
>> procedure to replace one Unicode character with another.
> 
> Yes, that's a simple question, it's just not one which has any
> relevance to your situation (because there are no Unicode characters
> involved in your case).

I'm sorry, but I'm not sure I understand. The Unicode for the "¥" character
is 00A5, but in Shift-JIS it becomes 005C, which is normally the Unicode for
the "\" character. Whereas the "\" is normally 005C but in Shift-JIS it is
0080. Why can't we just find and replace one for the other?


All My Best,
Jeffrey




 - - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>