Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
or$insStr = qq{insert into table (string) values(?)}; $sthIStr = $dbh->prepare($insStr); $sthIStr->execute($UTF8_txt);
The "long" appearantly unencoded ASCII-value is in the database-column (which is datatype nvarchar, btw). Real example: fiÅŸiere instead of fiþiere (Romanain for Files). What I am I doing wrong?$insStr = qq{insert into table (string) values(N'$UTF8_txt')}; $dbh->do("$insStr");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unicode insert into mssql from perl DBD
by graff (Chancellor) on Jan 02, 2008 at 14:44 UTC | |
by Anonymous Monk on Jan 02, 2008 at 15:02 UTC | |
by nikosv (Deacon) on Jan 05, 2008 at 21:26 UTC | |
|
Re: Unicode insert into mssql from perl DBD
by rhesa (Vicar) on Jan 02, 2008 at 15:32 UTC | |
|
Re: Unicode insert into mssql from perl DBD
by graff (Chancellor) on Jan 02, 2008 at 19:25 UTC | |
|
Re: Unicode insert into mssql from perl DBD
by Anonymous Monk on Jan 02, 2008 at 21:44 UTC | |
by rhesa (Vicar) on Jan 02, 2008 at 22:33 UTC | |
by Anonymous Monk on Jan 03, 2008 at 09:53 UTC |