Skip to content
Commit f40ee313 authored by Torsten Schönfeld's avatar Torsten Schönfeld
Browse files

Auto-upgrade strings to utf8

Whenever cairo expects utf8-encoded strings, automatically "upgrade" the
user-supplied string to utf8.  This makes it unnecessary (but harmless)
for users to call utf8::upgrade() on their strings.

Note, however, that calling utf8::encode() will now yield to
doubly-encoded and thus broken strings.  Also, having utf8-encoded
literals in your code without an accompanying "use utf8" line will also
lead to double encoding.

https://rt.cpan.org/Ticket/Display.html?id=73177
parent 2e9e0b2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment