You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anton Tagunov <at...@mail.cnt.ru> on 2003/09/20 18:50:30 UTC

Re[2]: Character Set Issues (windows vs. Unix)

Hello Hans!

Sorry about responding with significat delays, I'm reading
the list only periodically, in gulps

AT>   String s = rs.getString(x);
AT>   char c = s.charAt(y);
AT>   out.print((int)c);

HL> Thats exactly what I am doing.
HL> .... same result

What result? What codes do you get for non-ascii characters
on Unix and on Windos boxes from this test?

HL> I have even tried
HL> Reader reader = r.getCharacterStream("field_name");
HL> and then printing out the the char values of the stream

I guess r is of the type ResultSet (sorry, Chris Rolfe,
you seem to have misunderstood somthing). Okay, I beleive there
is not any difference between ResultSet.getString() and
ResultSet.getCharacterStream(), it will be enough to test
either of them

HL> Its the most bizarre thing i have seen.
HL> ...and driving me insane! :(

I like to invetigate these matters :-)
So, waiting for more info from you!

Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org