in reply to Re^5: Global substitution of non-base-plane Unicode characters
in thread Global substitution of non-base-plane Unicode characters
TIMTOWTDI.
In Perl, printing exactly one character—a Unicode byte order mark—and nothing else is a special case of formatted printing, vis-à-vis generalized printing of lines of text with built-in programming conveniences (e.g., automatic newline handling).
Would you find this troublesome?
printf '%s', "\N{U+FEFF}";
Or this?
printf '%c', 0xfeff;
Jim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Global substitution of non-base-plane Unicode characters
by kcott (Archbishop) on Feb 25, 2014 at 00:30 UTC |