Re: Server-side support of all encodings

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Dezso Zoltan <dezso(dot)zoltan(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Server-side support of all encodings
Date: 2007-03-29 18:54:05
Message-ID: 20070329185405.GA17519@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 28, 2007 at 10:44:00AM +0900, Dezso Zoltan wrote:
> My question is, however: what would be the best practice if it was
> imperative to use SJIS encoding for texts and no built-in conversions
> are useful? To elaborate, I need to support japanese emoji characters,
> which are special emoticons for mobile phones. These characters are
> usually in a region that is not specified by the standard SJIS,

Unicode also defines a region for user-defined characters. While it may
be odd, perhaps it would be reasonable to map the user-defined space in
SJIS to somewhere in the user-defined pace in Unicode, so that at least
you round-trip consistancy.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-03-29 18:57:20 Re: CREATE INDEX and HOT - revised design
Previous Message Josh Berkus 2007-03-29 18:45:27 Re: [PATCHES] Full page writes improvement, code update