× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

When running a normal Java application which does...

s = new String("-" +  "\u011F" + "\u0131" + "\u015F" + "-");
System.out.println(s);

... in WDSC, I only get -???- instead of the special characters.  Is there a 
way to get them displayed correctly (without changing my regional settings 
completely) ?  (when I open up IE, and go to a Turkish website I do see the 
corresponding characters).

And further... when I try to use the same string in a servlet to output it to a 
JSP, the character neither show up as they should be.  I now have a routine 
that replaces them with their escape sequence, but this isn't perfect and far 
from practical.  Somehow this should work another way... but how ?

Kind regards,
Paul





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.