in reply to Re^3: The Queensr’che Situation
in thread The Queensr’che Situation
So then why does this:
Produce this:use utf8; my $string = "Queensr’che"; no utf8;
When this:81 Q Q 117 u u 101 e e 101 e e 110 n n 115 s s 114 r r 255 {ff} 99 c c 104 h h 101 e e - this is utf8
Produces this:#use utf8; my $string = "Queensr’che"; #no utf8;
If the two bytes are "there", why is "use utf8" yielding a dec 255 for the "’" which is not valid utf8?81 Q Q 117 u u 101 e e 101 e e 110 n n 115 s s 114 r r 195 191 99 c c 104 h h 101 e e - this is NOT utf8
"The first 128 characters (US-ASCII) need one byte. The next 1,920 characters need two bytes to encode." - http://en.wikipedia.org/wiki/UTF-8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: The Queensr’che Situation
by Jim (Curate) on Oct 19, 2014 at 20:02 UTC |