Unix Technical Forum

Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32

This is a discussion on Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32 within the pgsql Hackers forums, part of the PostgreSQL category; --> > currently, upper/lower does not work with 2+ byte unicode > characters, on any OS under the C locale. ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 03:51 AM
John Hansen
 
Posts: n/a
Default Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32

> currently, upper/lower does not work with 2+ byte unicode
> characters, on any OS under the C locale.


Btw,...

There are only 15 cases in the utf8 repertoire that depends on locale, these are the only cases where pg should report:

ERROR: invalid multibyte character for locale
HINT: The server's LC_CTYPE locale is probably incompatible with the database encoding.

When doing a select upper/lower (col)
All others should work just fine.

The error should probably also be changed to a warning, and just return the offending character unmodified.


.... John

---------------------------(end of broadcast)---------------------------
TIP 6: 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 12:36 AM.


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