Opening the file with the proper encoding and passing the filehandle to parse_file indeed results in the proper entities being used - which is good enough for me.
For extra points:
Can you think of a way to make to_HTML emit the utf8-characters as in the source-document without replacing them with html-entities?
In reply to Re^2: transforming html
by morgon
in thread transforming html
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |