X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/489e7846289d4fb66eb4b9fab0fed4af719b98ee..85deb170e7add37ba5b6eff7bed36762917bcd54:/selfforum-cgi/shared/Encode/Plain.pm diff --git a/selfforum-cgi/shared/Encode/Plain.pm b/selfforum-cgi/shared/Encode/Plain.pm index f2085ce..17c749c 100644 --- a/selfforum-cgi/shared/Encode/Plain.pm +++ b/selfforum-cgi/shared/Encode/Plain.pm @@ -255,17 +255,17 @@ sub toUTF8 ($) { ? $$ref : $ref; - if ($v56) { - no warnings 'utf8'; - $string =~ tr/\x80-\xff//CU; - } - else { +# if ($v56) { +# no warnings 'utf8'; +# $string =~ tr/\x80-\xff//CU; +# } +# else { $string =~ s {([\x80-\xff])} { chr((ord ($1) >> 6) | 192) .chr((ord ($1) & 191)) }eg; - } +# } ref($ref) ? \$string @@ -531,4 +531,4 @@ BEGIN { # # -### end of Encode::Plain ####################################################### \ No newline at end of file +### end of Encode::Plain #######################################################