Skip Menu |

This queue is for tickets about the Net-Stripe-Simple CPAN distribution.

Report information
The Basics
Id: 119963
Status: open
Priority: 0/
Queue: Net-Stripe-Simple

People
Owner: Nobody in particular
Requestors: colink [...] perlDreamer.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.004
Fixed in: (no value)



Subject: Cannot process payments when the description contains UTF-8
When we pass a description with UTF-8 to the charges method, we get errors like this: Can't escape \x{2026}, try uri_escape_utf8()
On 2017-01-24 11:34:43, colink@perlDreamer.com wrote: Show quoted text
> When we pass a description with UTF-8 to the charges method, we get > errors like this: > > Can't escape \x{2026}, try uri_escape_utf8()
Unless explicitly documented to require utf-8 encoded strings (i.e. no char value above 256), the interface should accept standard perl unicode strings, and do the necessary encoding for network transport inside this module.