in reply to Problems Opening file with Perl where path has UTF8
Note: I'm assuming you have the actual characters 一棵高树 in there instead of 一棵高树
Try
use Encode qw( decode ); my $strPath = decode("C:\\server\\htdocs\\DEVELOPMENT\\testing\\...\\t +est\\test.ssi");
or
use utf8; my $strPath = "C:\\server\\htdocs\\DEVELOPMENT\\testing\\...\\test\\te +st.ssi";
(Use the characters instead of ...)
They should both work or both fail, probably the latter. If it works, I'll explain why.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problems Opening file with Perl where path has UTF8
by lustyx (Novice) on Nov 24, 2006 at 20:49 UTC | |
by ikegami (Patriarch) on Nov 24, 2006 at 21:41 UTC |