| To: | Gary Kobliska <garykob at earthlink dot net> |
|---|---|
| Subject: | Re: Japanese Text Encoding and nthField |
| From: | Joe Huber <joehuber at talasoft dot com> |
| Date: | Wed, 29 Sep 2004 20:23:50 -0700 |
| Cc: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
Hi GaryREALbasic will handle most encoding issues automatically as long as you give it accurate information. Here's a version of your code that works OK for me on 10.3.5 with RB 5.5.3 dim s0, s1, s2, tab as string tab = chr(9) s0 = Encodings.ShiftJIS.chr(&h8AE7) + tab + "AB" s1 = nthField(s0,tab,1) s2 = nthField(s0,tab,2) EditField1.text = s1 + "," + s2 msgBox str(lenB(s1)) + " and " + str(lenB(s2)) Hope this helps, Joe Huber _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Japanese Text Encoding and nthField, Will Leshner |
|---|---|
| Next by Date: | Re: Japanese Text Encoding and nthField, Will Leshner |
| Previous by Thread: | Re: Japanese Text Encoding and nthField, Will Leshner |
| Next by Thread: | Re: Japanese Text Encoding and nthField, Will Leshner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |