
Tumata
User

Apr 10, 2009, 8:39 AM
Post #1 of 3
(2296 views)
|
Wide character in print at main.pl line ...
|
Can't Post
|
|
Hi! I have a question. I wrote script, that gets web page with help of LWP::UserAgent. Then I get one substring using regexp. And finally print this substring onto console. The problem is that this page contains russian words and when I printing it perl complains: "Wide character in print at main.pl line 13.". When I saw STOUT of my script throught hexdump I discovered that my string encoded with two bytes for character (substring also contains russian words). What is wrong with my script?
|