Re: Reg. Non-English string literal in Java code
Dan Leuck <[email protected]> Thu, 10 Nov 2011 03:31:49 -1000
| Newsgroups | gmane.comp.java.beanshell.user |
|---|---|
| Message-ID | <[email protected]> |
It's been a while since I looked at it, but it comes down to there being streams where there should be readers and writers in the console and interpreter. It's just a very old part of the code that needs about 30 minutes of attention. Sent from my iPad On Nov 10, 2011, at 1:31 AM, Rathna Kumar <[email protected]> wrote: > Hi, > I am using bean shell interpreter to execute Java code. > If any string literal in Java code has non-English characters > (say, Russian) then such characters becomes garbled when > the interpreter is executing the code. > Is there a way to support internationalization during > bean shell interpreter execution of Java code ? > > Usage of bean shell interpreter > Interpreter interpreter = new Interpreter(); > interpreter.eval(javaCode); > > Content of javaCode > ArrayList aList = new ArrayList(); > aList.add("<RussianCharsHere>"); > aList.add("<RussianCharsHere>"); > > Any help is appreciated. > > Thanks > Rathna Kumar R > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Beanshell-users mailing list > Beanshell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/beanshell-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1