![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Ingres version: II 9.2.0 (int.lnx/118)NPTL II_CHARSET is set to ISO88591 I created a database with createdb -i and created a table with nvarchar columns. Using scripting, how can I insert utf8 data into this table? |
#3
| |||
| |||
|
|
On/El 13/05/09 20:46, droesler wrote/escribió: Ingres version: II 9.2.0 (int.lnx/118)NPTL II_CHARSET is set to ISO88591 I created a database with createdb -i and created a table with nvarchar columns. *Using scripting, how can I insert utf8 data into this table? If you are looking for command line scripting then you can use *PHP, Python, or Ruby. With PHP and the latest driver (2.1.0) all string values are assumed to be using a UTF-8 encoding and are converted to UTF-16 when dealing with N(VAR)CHAR columns. For this to work the following settings need to be enabled (they are by default): ingres.utf8 ingres.describe |
![]() |
| Thread Tools | |
| Display Modes | |
| |