Open pbiering opened 1 year ago
as mostly all systems nowadays are UTF-8 ready, shouldn't the files which contain German Umlaus not be converted?
file -i * | egrep '(utf|iso)' CREDITS: text/plain; charset=iso-8859-1 HISTORY: text/plain; charset=iso-8859-1 vdradmind.pl: text/x-perl; charset=iso-8859-1
Comments?
This is also related to https://github.com/glenvt18/vdradmin-am/pull/9 which has partial replacements already inside, mostly on comments, but one line is affecting the code:
- unless ($c =~ /[<F6><E4><FC><DF><D6><C4><DC>A-Za-z0123456789_!@\$%&()+,.\-;=~ ]/) { + unless ($c =~ /[öäüßÖÄÜA-Za-z0123456789_!@\$%&()+,.\-;=~ ]/) {
Is there a way to change this automatically?
https://perldoc.perl.org/utf8
You have to tell the interpreter that you plan to use UTF-8 in source code.
I will take care of this after further testing
as mostly all systems nowadays are UTF-8 ready, shouldn't the files which contain German Umlaus not be converted?
Comments?
This is also related to https://github.com/glenvt18/vdradmin-am/pull/9 which has partial replacements already inside, mostly on comments, but one line is affecting the code: