| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Steve Atkins <steve(at)blighty(dot)com> |
| Cc: | pgsql-general List <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Multiple character encodings within a single database/table? |
| Date: | 2009-04-10 19:23:56 |
| Message-ID: | 200904101923.n3AJNuD18593@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Steve Atkins wrote:
>
> On Mar 23, 2009, at 3:50 PM, Dann Corbit wrote:
>
> > If I have the C locale, can I have multiple character encodings
> > within:
> > 1. A single database?
> > 2. A single table?
>
> No.
>
> >
> > More specifically, I would like to be able to have Unicode columns and
> > ASCII text columns within the same table. Is this possible? If so,
> > how
> > do I achieve it?
>
> Any valid ascii string is also a valid utf8 string. You can probably
> just use utf8 for everything.
More specifically, ASCII bytes are valid UTF8 values.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Justin | 2009-04-10 19:30:27 | Re: Internationalization |
| Previous Message | chinchu2005 | 2009-04-10 18:20:27 | ERROR: array subscript out of range |