On the second point:
add binmode OUT, ":utf8";after the file open
I think is better, to use binmode OUT, ":encoding(UTF-8)"; because ':encoding(UTF-8)'checks the data for actually being valid UTF-8, while ':utf8' just marks the data as UTF-8 without further checking.
Please check binmode.
In reply to Re: SOLVED Re: Writing HTML file with UTF-8 chars
by 2teez
in thread Writing HTML file with UTF-8 chars
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |