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.

Jonathan


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


> I think Jonathan Tan wrote:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > Hi,
> >
> > I am trying to display thai font (presently using unicode escape
sequences
> > \u0e00-\u0e7f) and am trying to display both english and thai
simulatiously.
> > My experience with using unicode sequences in pure java (jdk 1.4 and
above),
> > it work fine. Jess, however, just prints out the numerical escape
sequence.
> > Would appreciate advice as to whether there is there a workaround or if
I
> > have to work from within java for the GUI.
> >
>
> Ah, OK. No, the rule language doesn't support Unicode escapes. That's
> a reasonable feature request, however.
>
> But in any case, given that the OS and the JVM have the right script
> support, Jess ought to be able to read .clp files in, say, UTF-8 or
> UTF-16 encoding which embedded the actual Thai characters themselves;
> that's what I meant.
>
>
> ---------------------------------------------------------
> 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