Perl CGI Source code (one huge string, aks repettition of characters --> Produced HTML data out of cgi.pm's html generating functions and Web servers help) --> Encoding UTF-8(aka conversion of chars to bytes) --> Web --> Encoding(conversion from bytes to chars) -> Pure HTML data recived by the cleints browser
This is how i understand the whole process after your explanation.
I have web space on freehostia but you can have it form my pc by accessing http://nikos.no-ip.org/data/vault/problem.txt wher i placed it for you to grasp it. I wonder though i i dint renamed it to problem.txt if you would still be able to grab it under name index.pl. There is a fear as you say that unintententionally the web server try to execute this but i dotn think so because it sint inside the 'cgi-bin' folder so for the web server to treat it specially so maybe index.pl could be downloaded as a simpel document.
Anyway, i have uploaded it and i thank you for the explanation and willingness to try to convert it, i dont really now how it ended like this mess, but from now an on i will only use gridinsoft notepad to edit files and not dzsoft perl editor as well because messes like thsi happened.
One think i want to ask though is why when i save myu perl file on gridinsoft notepad as 'utf-8' and then when i immediately open them with dzsoft perl edit i see a BOM header before the shebang line where it has 3-4 chars in front? This onyl happend if i try to save my files in notepad as utf8. Maybe you cna enlight me to that too.
In reply to Re^4: Encoding changed from Greek to somethign else
by Nik
in thread Encoding changed from Greek to somethign else
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |