karlgoethebier has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
i build some PDFs using LaTeX and Text::Template.
Populating my hash to fill in the template i stumbled over this:
my $customer = q(Karl Dämlich); $customer = encode_utf8($customer); say $customer; my $data = { customer_name => $customer, factoring_nr => '123456', user => 'karl', invoice_amount => '50.403,50', number_invoices => '5', dispatched => $date, approved => $date_time, invoices => \@invoices, }; dd $data; __END__ karl@host:~/mk_pdf # ./template.pl Karl Dämlich { approved => "04.12.2015 15:24:42", customer_name => "Karl D\xC3\xA4mlich", dispatched => "04.12.2015", factoring_nr => 123456, invoice_amount => "50.403,50", invoices => [], number_invoices => 5, user => "karl", }
What happenend to the Umlaut?
Update:I gave it up bothering myself. After using the tabular environment instead of hyperref forms everything works. Thanks to all that helped.
Thank you very much for any hint and best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What happenend to the Umlaut ?
by Anonymous Monk on Dec 04, 2015 at 15:23 UTC | |
|
Re: What happenend to the Umlaut ?
by karlgoethebier (Abbot) on Dec 04, 2015 at 17:21 UTC |