Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Perl DBI can't display Chinese text?

by mje (Curate)
on Oct 15, 2013 at 09:33 UTC ( #1058281=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl DBI can't display Chinese text?
in thread Perl DBI can't display Chinese text?

So you are running on Windows, your DBD::ODBC is a unicode supprting build and you are using the MS SQL Server native client driver.

We still don't know your DBI and DBD::ODBC versions. I slightly feel you are drip feeding us information.

As far as I can see that log is showing chinese characters returned. Characters 临, 床, 科 and 室 all look like chinese unicode characters. When you fetch that column you can pass it to data_string_desc and DBI will show you more information. If you do what graff told you and your terminal is set up correctly you should be able to print that string.

  • Comment on Re^3: Perl DBI can't display Chinese text?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-06-27 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (336 votes). Check out past polls.