A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Display Unicode value in JTextField
Joined: May 22, 2005
May 24, 2012 12:23:00
I have a column in oracle table having data type as NCHAR, and carrying value in UNICode (i.e. its a person name in urdu language).
Right now I retrieved the above column value from oracle by using below statement:
rs = ((OracleCallableStatement)stmt).getCursor(2);
setDataArray(rs.getString(1));// Ignore this line; its working fine
setDataArray(rs.getString(2));//Ignore this line; its working fine
Reader name_native = rs.getCharacterStream(3);
Now, I don't know how to convert above Reader object for
to display Unicode value.
Therefore, its my request to help me to resolve this issue, or may be I am not on the right path then please suggest me what to do; to accomplish the task i.e. display urdu in
Looking forward to your kind and positive response.
Joined: May 03, 2008
May 24, 2012 12:40:32
that has glyphs for those characters. One of the overloads of the
method may be useful to help find one.
Arial Unicode looks to be a likely candidate.
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: Display Unicode value in JTextField
Swing JCombobox and JTable issue
Problem to display clob data
ArrayList seems to be not working
utf8 to unicode..from browser to oracle db
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015