realbasic-nug
[Top] [All Lists]

Re: Japanese Text Encoding and nthField

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Japanese Text Encoding and nthField
From: Will Leshner <leshner at ljug dot com>
Date: Thu, 30 Sep 2004 15:30:18 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20040930104825 dot 660724A3A8F at lists dot realsoftware dot com> <20040930152710371588 dot GyazMail dot garykob at earthlink dot net>
Gary Kobliska wrote:

Second, my program reads Japanese text from a file. Thus it needs to operate on a whole string, and my attempt at s0 = Encodings.ShiftJIS.s0 did not please the compiler.

I'm thinking, though, that if you are absolutely sure the text is ShiftJIS 
coming in, then you should be able to first DefineEncode it as such after you 
read it in (which you are probably already doing), and then convert it to UTF8 
using ConvertEncoding. The UTF8 text should work fine.


--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KIdzMail & KidzLog: http://haranbanjo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

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