Unix Technical Forum

MULE_INTERNAL translation to win1250

This is a discussion on MULE_INTERNAL translation to win1250 within the Pgsql General forums, part of the PostgreSQL category; --> Hi. I have a strange problem in postgres 8.1.4 (gentoo 64bit on AMD64 platform) My database is created vith ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 01:43 PM
=?iso-8859-2?Q?Ing._Martin_Pr=E1=B9ek?=
 
Posts: n/a
Default MULE_INTERNAL translation to win1250


Hi.

I have a strange problem in postgres 8.1.4 (gentoo 64bit on AMD64
platform)

My database is created vith LATIN-2 encoding for correct vieving of
nacional specific characters ( czech language )

inside code of my php application is setting client encoding to win1250
because I need output of query in this encoding.

On some parts of data I got an error :

Query failed: ERROR: character 0x829a of encoding "MULE_INTERNAL" has no
equivalent in "WIN1250"

Without "set client_encoding to win1250" query works. I am curious why there
is a MULE_INTERNAL mentioned even when \l+ say that corresponding database
is created with (and even all the cluster) LATIN2 encoding.

Strange enough that ALL INSERTS are done with WIN1250 client encoding too.
May be a bug in charset translation routines of postgres ?




And how can I repair it, preferable in whole database ?


Thanx for help.







---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com