Err - what has that to do with anything? He is passing some binary data from
items in the database in to Java - the operating system has no effect on the
encoding.

1) You must turn on i18n and l10n in the jBASE environment before inserting
the data in the database;
2) The encoding in the database should ALWAYS be UTF8
3) The value in the variable you read from the database and then pass to the
java program will be in UTF8;

Note that Java does not cover the whole of the Unicode code point range. 
\
Note that uf writing the data to a text file, then you must specify that the
output encoding is UTF-8. 

Do not confuse the term Unicode, which is the specific code points (numbers)
assigned to all the worlds characters, and the encoding types, such as
UTF-8, UTF-32 and so on.

Jim

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of acleda
> Sent: Tuesday, October 12, 2010 6:59 AM
> To: jBASE
> Subject: Re: T24:Unicode Problem
> 
> Hi, please check the OS you are using is compartible with unicode UTF-
> 8.
> 
> i think this will help, it's similiar to my issue.
> 
> Leng.
> 
> On Oct 1, 7:35 am, ankit <[email protected]> wrote:
> > Hi All,
> >
> > I am developing a solution for one of the clients in China. I am
> > reading some values from t24 database and passing it to a java
> > program. Now when I write the received string from t24 to a file the
> > characters appear as "????". I know java can convert Unicode
> > characters to UTF-8. But in this case it does not seem to work,
> > because when the characters are passed to the java program from jbase
> > routine they are already corrupted. Any solution for this problem?
> >
> > Thank You,
> > Ankit.
> 
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
> 
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
> 
> To post, send email to [email protected] To unsubscribe, send
> email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to