in reply to Re: PDF::API2 with special characters
in thread PDF::API2 with special characters
> You've got umlauts directly in your source
Yes. What's the alternative? In the original source I used a variable instead - same issue.
> how is your Perl source file encoded?
How can I find this out? "file" just tells me it's a 'shell text executable'. The editor (Komodo) doesn't ask me when saving.
>If it's UTF-8, you need to tell Perl that by saying use utf8;.
I tried 'use utf8;' but then I get compile errors "Malformed UTF-8 character (unexpected continuation byte 0x80, with no preceding start byte) at ./Test3.pl line 25."
> Or, try using the hex escapes, e.g. "\x{00E4}" for a-umlaut.
You mean I need to replace all Umlauts by hex escapes? Honestly, this is not an option.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: PDF::API2 with special characters
by Anonymous Monk on Oct 06, 2014 at 13:10 UTC | |
by aloss (Initiate) on Oct 06, 2014 at 13:58 UTC |