Subject: | feature request: better utf 8 support through ENCODING or ATTRIBUTE argument in SimpleDBI::CONNECT |
Date: | Thu, 5 Feb 2009 14:01:11 -0500 (EST) |
To: | bug-POE-Component-SimpleDBI [...] rt.cpan.org |
From: | sean.pieper [...] viable.net |
Hi,
I'm working with a UTF-8 encoded postgres DB, and would like to be able to properly read wide characters. DBD::Pg has a DB handle attribute pg_enable_utf8 that would solve my problems, but DBISimple doesn't provide an easy way for me to specify driver specific attributes this during connection.
The most obvious solution seems to be expanding CONNECT to take either:
ATTRIBUTES=>{pg_enable_utf8 => 1, pg_specific_crud =>0}
and letting the DBD module do the work, or,
ENCODING=>"utf8"
and then calling decode() as appropriate on SINGLE and MULTIPLE operations.
Thanks,
-sean
This e-mail, including any attachments may contain information that is protected by law as PRIVILEGED AND CONFIDENTIAL and is intended solely for the use of the recipient or the employee or agent responsible for delivering the message to the recipient. Please note that if you are not the intended recipient, you are hereby notified that any dissemination, copying, distribution, retention, re-transmission, printing or any other use of this e-mail or the information contained herein is strictly prohibited. If you have received this e-mail communication in error, please immediately send an e-mail reply to notify the sender and immediately and permanently delete this e-mail from your computer system. Thank you.