Yep thanks a lot Ernest!
For basic display in a frame it works like a charm =)

This internationalization stuff is a bit tricky though and from what I
gathered from some forums, there seems a little erratic behavior in
jdk1.4.x.

Will be crash testing it and see how it goes; see if rules work with such
embedded characters.

Jonathan


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wed, September 08, 2004 10:21 PM
Subject: Re: JESS: unicode - printing thai characters


>
> I think Jonathan Tan wrote:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > I have tried using embedded thai characters in Java code (UTF-8 format),
and
> > to get the characters to display properly, I need to declare the
encoding
> > when compiling:
> >   javac -encoding utf8 thaitest.java
> >
> > I am not sure how achieve similar results in JESS. The result presently
is
> > garbage identical to if I compiled a similar program in Java without
> > declaring the encoding.
> >
>
> Thanks for the information. I personally have virtually no experience
> using non-Latin encodings, so I don't know off the top of my head if
> there's a way to deal with this. Hmmm, let's Google it...
>
> It looks as though you can set the default encoding for the JVM using
> the system property "file.encoding". Try something like
>
>   java -Dfile.encoding=utf8 jess.Main thaifile.clp
>
> and please do let me know if that works.
>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Advanced Software Research          Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> PO Box 969, MS 9012                 [EMAIL PROTECTED]
> Livermore, CA 94550         http://herzberg.ca.sandia.gov
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
>



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to