in reply to Re^4: 'use' inside or outside of package declaration?
in thread 'use' inside or outside of package declaration?
It has to work that way, because the same NFC conversion takes place for all filenames passed to open. But I do know what you mean. It depends on the syscall. Apparently stat doesn’t do that, since there you have to do it yourself:% uniquote -v t echo foo > \N{LATIN SMALL LETTER A WITH ACUTE} cat \N{LATIN SMALL LETTER A WITH ACUTE} % sh /tmp/t foo % ls a? | uniquote -v a\N{COMBINING ACUTE ACCENT}
% perl -le 'print -e "\xE1" ? "Yes" : "No"' No % perl -MUnicode::Normalize -le 'print -e NFC("\xE1") ? "Yes" : "No"' Yes
I see my stalker is back. Yawn!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: 'use' inside or outside of package declaration?
by choroba (Cardinal) on May 12, 2011 at 12:53 UTC |