Then do option 2 or 3. Option 2 is pretty simple:
s/(\\)|([...])/ $1 ? "\\\\" : sprintf "\\%02X", chr $2 /ge; my @elements= parseXML(); s/\\(\\|..)/ length $1 == 1 ? "\\" : chr hex $2 /ge for @elements;
- tye
In reply to Re^3: Funny characters in nodes (recode)
by tye
in thread Funny characters in nodes
by dmitri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |