× 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 Vincent,

Thanks for your effort in translating... but I don't have a 'Workstation', 
unless that should be 'Workbench', but then again I don't know what 'Policies' 
should be ?

As for the servlet... does the JSP file on the IFS needs to be in UTF-8 in that 
case (now they're in 1252) ?  Even if the actual bean that is used presents it 
data in Unicode ?

Kind regards,
Paul


----- Oorspronkelijk bericht -----
Van: Dupuis Vincent [mailto:vdupuis@xxxxxxxxxxxxxx]
Verzonden: maandag, december 6, 2004 03:55 PM
Aan: 'Websphere Development Studio Client for iSeries'
Onderwerp: RE: [WDSCI-L] Strange characters/Unicode

Hello Paul,

You can change the console's police so that the System.out.println will print 
correctly your special characters.
To do it go to Windows > Preferences > Workstation > Polices and select Text 
police for the debugging console.
(My WDSC is in french so maybe the translation is not good...)

Concerning the issue in the servlet, make sure you are editing and encoding 
your page with utf-8 charset.

Vincent

-----Message d'origine-----
De : wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]De la part de Paul Nicolay
Envoyé : lundi 6 décembre 2004 16:24
À : Websphere Development Studio Client for iSeries
Objet : [WDSCI-L] Strange characters/Unicode


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




_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing 
list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing 
list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.







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.