473,394 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

is win1250 supported encoding for PG7.5?

Hello

I have only one questions. I am testing PostgreSQL for windows.
All look well, but I can't set database encoding win1250. Its can be
problem, because win1250 is often used encoding on win32 platform in our
area. (PG7.5 don't support win1250 encoding on linux too).

Administrator@NEMESIS /usr/local/pgsql/lib
$ ../bin/createdb.exe -E win1250 aaa
createdb.exe: database creation failed: ERROR: win1250 is not a valid
encoding name

I can set win1250 for client_encoding without problem. Its problem in my
configuration or it's feature :-).

Thank You
Pavel Stehule


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #1
1 1815
On Mon, Jun 28, 2004 at 01:29:34PM +0200, Pavel Stehule wrote:
I have only one questions. I am testing PostgreSQL for windows.
All look well, but I can't set database encoding win1250. Its can be
problem, because win1250 is often used encoding on win32 platform in our
area. (PG7.5 don't support win1250 encoding on linux too).

Administrator@NEMESIS /usr/local/pgsql/lib
$ ../bin/createdb.exe -E win1250 aaa
createdb.exe: database creation failed: ERROR: win1250 is not a valid
encoding name
Shift JIS (Winindows-932)
Big5 (Windows-950)
GBK (Windows-936)
UHC (Windows-949)
windows-1250
PG_GB18030

are client encodings only. You can't create DB in these encodings. I'm
not sure if this behaviour is described in PostgreSQL's docs.

For details see include/mb/pg_wchar.h
I can set win1250 for client_encoding without problem. Its problem in my
configuration or it's feature :-).


That's right, it's feature. I agree that it's a little funny that you
can't use native windows encoding in the native windows PostgreSQL port
:-)

Karel

--
Karel Zak <za***@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tjerk Wolterink | last post by:
When i open the following xml file in internetexplorer: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE xc:content > <xc:xcontent...
2
by: anand | last post by:
Hi All, Are ownerdraw buttons supported in C# ? I have an active X control which I would like to use in CSharp. Buttons have a style BS_OWNERDRAW, and to do custom drawing you have to...
4
by: David | last post by:
Hello When I try to open a connection to a sql server database from my aspnet app I get the following exception message: 'ResourcePool' is not supported on the current platform. I can connect OK...
1
by: VB Programmer | last post by:
On this line of code: objStreamReader = File.OpenText(FILENAME) I get this error: URI formats are not supported. Description: An unhandled exception occurred during the execution of the...
0
by: SB | last post by:
I have few web service methods that take and return array of structures. I created these web methods in .NET with the default encoding (document/literal). They worked perfectly during my testing....
5
by: nielsgron | last post by:
Hi, I have created a database on DB2 8.1 and 8.2 for Windows using the codeset "Big5" with the command: db2 CREATE DATABASE TWBIG5 USING CODESET BIG5 TERRITORY TW When I try to connect to...
2
by: Giovanni Bajo | last post by:
Hello, I am trying to find a good way to portably get the output of strftime() and put it onto a dialog (I'm using PyQt, but it doesn't really matter). The problem is that I need to decode the...
7
by: vunet | last post by:
My form uploads files by submitting them to hidden IFrame. I set enctype "multipart/form-data" dynamically. This works great everywhere but IE6. I discovered that in IE6 I need to set encoding...
2
by: jaibarde | last post by:
Hi, I have a need to show list of locales into a field on a wizard ( a Java based application). But these locales should be such that they are supported by the current character set (encoding)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.