[DBD::Pg] Add note about using sv_utf8_decode to determine validity/update utf8 flag
dbdpg-commits-gENoVmVU/[email protected] Wed, 29 Jun 2011 14:35:00 +0000
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by David Christensen <david-O9fzpki4YnJWk0Htik3J/[email protected]> Add note about using sv_utf8_decode to determine validity/update utf8 flag --- TODO.utf8 | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/TODO.utf8 b/TODO.utf8 index 8d3fdb0..7c7dfcd 100644 --- a/TODO.utf8 +++ b/TODO.utf8 @@ -81,6 +81,10 @@ should prevent accidental corruption. already have fast-tracked code-paths for this type of operation, since we know the data will be valid UTF8. + - look at "sv_utf8_decode" in perlapi; it's marked experimental, + but based on the versions of perl I have handy it exists from + perl 5.8.3 - 5.12.3 with the provided API. + When processing data coming *in* from the user i.e., (SV*) we consider the following: -- 1.7.0.5