![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Do the following in an installation initdb'd in ru_RU.KOI8-R (It doesn't happen if you initdb'd with UTF-8). You need to run psql in a locale that is capable of russian letters, namely an UTF-8 locale, or a KOI8-R locale. Then: CREATE DATABASE bug WITH ENCODING='unicode'; |
#3
| |||
| |||
|
|
Am Freitag, 23. Juli 2004 11:49 schrieb Markus Bertheau: Do the following in an installation initdb'd in ru_RU.KOI8-R (It doesn't happen if you initdb'd with UTF-8). You need to run psql in a locale that is capable of russian letters, namely an UTF-8 locale, or a KOI8-R locale. Then: CREATE DATABASE bug WITH ENCODING=3D'unicode'; =20 That's your problem. Your locale doesn't match your encoding. You need = to=20 use a compatible combination. |
#4
| |||
| |||
|
|
Do the following in an installation initdb'd in ru_RU.KOI8-R (It doesn't happen if you initdb'd with UTF-8). |
#5
| |||
| |||
|
|
That's your problem. Your locale doesn't match your encoding. You need to use a compatible combination. What is happening in the server that this is required? |
![]() |
| Thread Tools | |
| Display Modes | |
| |