pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: Rajesh Mallah <mallah_rajesh@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: Significance of Database Encoding
Date: Sun, 15 May 2005 19:02:37 +0200
Message-ID: <op.sqttmnyhth1vuj@localhost> (raw)
In-Reply-To: <20050515153337.11724.qmail@web31015.mail.mud.yahoo.com>
References: <20050515153337.11724.qmail@web31015.mail.mud.yahoo.com>
> +--------------------------------------------------------------------------------------+
> | 私はガラス
> +--------------------------------------------------------------------------------------+
You say it displays correctly in xterm (ie. you didn't see these in your
xterm).
There are HTML/XML unicode character entities, probably generated by your
mailer from your Unicode cut'n'paste.
Using SQL ASCII to store UTF8 encoded data will work, but postgres won't
know that it's manipulating multibyte characters, so for instance the
length of a string will be its Byte length instead of correctly counting
the characters, collation rules will be funky, etc. And substring() may
well cut in the middle of an UTF8 multibyte char which will then screw
your application side processing...
Apart from that, it'll work ;)
view thread (5+ messages) latest in thread
Message-ID: <op.sqttmnyhth1vuj@localhost> Permalink: ../op.sqttmnyhth1vuj@localhost/ Also on: postgresql.org/message-id/op.sqttmnyhth1vuj@localhost ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-sql@postgresql.org Cc: lists@boutiquenumerique.com, mallah_rajesh@yahoo.com Subject: Re: Significance of Database Encoding In-Reply-To: <op.sqttmnyhth1vuj@localhost> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox