List Info

Thread: Re: the utf8 flag




Re: the utf8 flag
user name
2007-03-30 19:48:06
Marc Lehmann skribis 2007-03-31  2:11 (+0200):
> Juerds goal of having the UTF-X flag exposed

I urge you, strongly, to stop spreading misinformation about
my supposed
goals, beliefs, and dreams. You misinterpret a lot of what I
say,
including this.

I have said nor implied that the UTF-8 flag should exposed.
It can be
useful to access it sometimes, but it should never be
necessary.

The UTF8 flag *is* exposed, but any mention of it in Perl
code is a red
flag and must be carefully considered.


To quote myself from several sources:

perlunitut;
> (there is nothing about the UTF8 flag in perlunitut!)

perlunifaq:
> Please, unless you're hacking the internals, or
debugging weirdness,
> don't think about the UTF-8 flag at all.

perluniadvice: (http://juerd.n
l/site.plp/perluniadvice)
> # Pretend that the UTF8 flag doesn't exist
> # Don't set the UTF8 flag manually (Encode::_utf8_on)
> # Don't remove the UTF8 flag manually
(Encode::_utf8_off)
> # Don't query the UTF8 flag (Encode::is_utf8,
utf8::is_utf8)

http://www.p
erlmonks.org/?node_id=571906
> Here you manually switch on the internal UTF8 flag. You
should NEVER
> do this
-- 
korajn salutojn,

  juerd waalboer:  perl hacker  <juerdjuerd.nl>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy
<salesconvolution.nl>

Ik vertrouw stemcomputers niet.
Zie <ht
tp://www.wijvertrouwenstemcomputersniet.nl/>.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )