× 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.



All source files are 870 - which is correct I think ..

I tested conversion to other CCSID (ie. 912) before java method call and
there is a little difference on output, but still it is not correct

Anyway, thanks for your info

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Dan Kimmel
Sent: Tuesday, December 11, 2012 4:20 PM
To: Java Programming on and around the IBM i; rpg400-l@xxxxxxxxxxxx
Subject: RE: RPG, Java and national characters

What'd the CCSID of your RPG source file?

There's a lot of mysteries surrounding character translation for me when it
comes to RPG/Java interface so this is pure speculation. However, I know
that constants in your RPG source are handled in the CCSID of the source
file. Those constants are, of course, embedded in the compiled code. I
*think* those constants are translated into unicode at run time (when the
java method is called) based on the source CCSID.

The question mark means its an untranslatable character. In other words,
there's no entry in the translation table at that code point.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Szymon Nawrocki
Sent: Tuesday, December 11, 2012 2:19 AM
To: rpg400-l@xxxxxxxxxxxx; java400-l@xxxxxxxxxxxx
Subject: RPG, Java and national characters

Hi

I'a trying to use RPGMail (Arron's Bartell tool), to expand my RPG and Java

skills - and everything is fine except one problem with national

characters.

When I try to send e-mails with Polish specific characters ("ąęźńł") -

for example in a subject - recipent always gets question mark '?' sign

instead one of that strange polish ones. I've checked everything I suspect

that could be a problem and now I run out of ideas ...



- JVM is running with polish encoding (ISO8859-2)

- iSeries CCSID is Polish

Polish characters hardcoded in Java sources are sent OK, when I code them

in RPG sources (get from database) they go wrong ..



Maybe someone could give me some advise or prompt what to check ...

Regards

Szymon

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.