X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/d2a9a53e1134b61fa695688b5bc388091fc346cf..5c8a814d80027a517d1094008d6af063457fc6eb:/selfforum-cgi/shared/Encode/Plain.pm?ds=sidebyside 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 #######################################################