html - special characters with Net::Twitter::Lite -
i try send characters ü, ä, ß, à , on twitter. if use unicode characters in scripts come out wrong in twitter. if use html (which possible in twitter's web-interface , used work previously) see ü rather "ü" in post. there parameter or have set? call encode/decode? using:
use net::twitter::lite::withapiv1_1;
i find myself checking out test suite of perl modules quite source examples.
net::twitter expects decoded characters, not encoded bytes so, sending encoded utf8 net::twitter result in double encoded data.
source: https://metacpan.org/source/mmims/net-twitter-lite-0.12006/t/unicode.t
Comments
Post a Comment