|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: "Wide character in print"by graff (Chancellor) |
| on May 07, 2007 at 07:19 UTC ( [id://613894]=note: print w/replies, xml ) | Need Help?? |
|
Now that you've updated your node again (thanks for indicating the update), I'd point out that the code as posted looks bad, and I'd be surprised if it works at all. Since you are using "my" to declare variables, you should be doing "use strict;" as well, to get the real benefit.
As it is, you assign a value to "my $arguments", but then you don't use it (you use a variable called $my_arguments instead). Then, I can't figure out where the $link thing is coming from... should that have been spelled "$result" instead? Maybe I'm just naive, but when I tried the url you mention in your code (www.url.com/file.wsdl), I somehow got to "coolchaser.com", and that page did not appear to have any wide-character data (nor a "search" service). Based on your updates, it doesn't seem as though you've made any progress, despite the information you've been given. Maybe you could post a reply to one of my nodes in this thread, to provide a simple, runnable code snippet that demonstrates the problem. (Please don't make any more major changes to your root node -- this thread is already too confused.) Also, let us know whether you've tried the suggestions, and what happened when you did. What are you using to view the output? Are you still in doubt about the fact that your three bytes of "weird characters" are simply the utf8 sequence for the "en dash" character (unicode codepoint U+2013)?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||