Re: UTF8 encoding and non-text data types

From: Joe <dev(at)freedomcircle(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Medi Montaseri <montaseri(at)gmail(dot)com>, Steve Midgley <public(at)misuse(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: UTF8 encoding and non-text data types
Date: 2008-01-14 23:40:45
Message-ID: 478BF2FD.60002@freedomcircle.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane wrote:
> Oh? Interesting. But even if we wanted to teach Postgres about that,
> wouldn't there be a pretty strong risk of getting confused by Arabic's
> right-to-left writing direction? Wouldn't be real helpful if the entry
> came out as 4321 when the user wanted 1234. Definitely seems like
> something that had better be left to the application side, where there's
> more context about what the string means.
>
The Arabic language is written right-to-left, except ... when it comes
to numbers.

http://www2.ignatius.edu/faculty/turner/arabic/anumbers.htm

I agree that it's application specific. The HTML/Perl script ought to
convert to Western numerals.

Joe

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Gregory Stark 2008-01-15 10:31:22 Re: UTF8 encoding and non-text data types
Previous Message Tom Lane 2008-01-14 23:24:33 Re: UTF8 encoding and non-text data types