in reply to Re^3: Japanese character in Linux
in thread Japanese character in Linux
In Sybase Japanese data columns are encoded in Shift-JIS encoding.
We are retrieving this data using DBI.
use DBI qw(:sql_types);
if ( @row = $dbFOX_sth->fetchrow_array ) {
( $sInstrumentNameJ, $sInstrumentShortJ ) = @row;
When we print this data in unix console it comes as junk.
After we get this value in a variable we pass this to a stored proc which inserts data in Oracle Nvarchar2 data type field.
Here it comes as inverted ?.
Please advise.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Japanese character in Linux
by andal (Hermit) on Jul 08, 2011 at 07:43 UTC | |
by prafulltc (Acolyte) on Jul 08, 2011 at 09:33 UTC | |
by andal (Hermit) on Jul 08, 2011 at 09:56 UTC | |
by Anonymous Monk on Jul 08, 2011 at 10:15 UTC | |
by andal (Hermit) on Jul 08, 2011 at 12:02 UTC | |
| |
|
Re^5: Japanese character in Linux
by Corion (Patriarch) on Jul 08, 2011 at 06:42 UTC |