Does somew开发者_开发问答here exist a list with all Perl operators and functions which expect their string arguments as octets?
For example the file test operators need octets ( Question about pathname encoding comment ).
Now I found a code with symlink
and I am not sure if I should encode the file names.
It’s simply because the traditional Unix syscalls that Perl either uses or emulates are all defined in terms of bytes, not characters. If you want a UTF-8 encoded or decoded filename, then you have to do that for yourself. You will not get what you want if you do not.
精彩评论