If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Firebird Create Collation

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-20-09, 10:57
vsouhrada vsouhrada is offline
Registered User
 
Join Date: Sep 2009
Posts: 2
Question Firebird Create Collation

Hello all,

I am working with Firebird 2.1.3 32bit Classic Server. I'd like works with chinese characters in UTF8 database. So I created database with UTF8 character set and I inserted chinese characters in unicode sequence form. Everything is OK, but I need sorting these chinese characters no by unicode but chinese collation. Firebird has GB_2312 character set where is GB_2312 and GB_2312_UNICODE collations.

My question is : Can I create chinese collation (GB_2312) for character set UTF8? I tried use statement CREATE COLLATION ..... FOR .... from .... but this didn' t works for me . The UTF8 character set is not in fbintl.conf file.

Does anyone have any idea?
Thank's
Reply With Quote
  #2 (permalink)  
Old 10-21-09, 18:50
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,297
I'm not sure what you are trying to achieve.

According to the manual, you can only use the collation GB_2312 with the character set GB_2312. So you will need to change the character set of your database (or at least of that column which you want to sort by)
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On