Does this mean that it could not encode from a unicode - to the standard ascii -
It means the character does not exist in iso-8859-2. "-" does exist, so it's not what you actually had. Maybe it was "–" or "—" or one of the other various dashes.
You can have encode do something other than substitute with "?" by using its third parameter.
I think you would like to pass your text through Text::Unidecode before encoding it.
In reply to Re: convert utf8 to iso-8859-2 to octal code
by ikegami
in thread convert utf8 to iso-8859-2 to octal code
by sdperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |