BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

bug Interbase "Like" does not support Chinese

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (InterBase Express)
View previous topic :: View next topic  
Author Message
Emmanuel
Guest





PostPosted: Sun May 21, 2006 2:14 am    Post subject: bug Interbase "Like" does not support Chinese Reply with quote



If I request
select * from Table1 where Field1 like '%ÃÀ'

then the result is same to
select * fom Table1

How can I solve it?
Back to top
Jeff Overcash (TeamB)
Guest





PostPosted: Sun May 21, 2006 9:14 pm    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote



Emmanuel wrote:
Quote:
If I request
select * from Table1 where Field1 like '%ÃÀ'

then the result is same to
select * fom Table1

How can I solve it?



Make sure you are connecting with the correct character set defined.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts, build
a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is for
insects. (RAH)
Back to top
Emmanuel
Guest





PostPosted: Mon May 29, 2006 8:26 am    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote



I am sure
"Jeff Overcash (TeamB)" <jeffovercash (AT) mindspring (DOT) com>
??????:4470d33f$1 (AT) newsgroups (DOT) borland.com...
Quote:
Emmanuel wrote:
If I request
select * from Table1 where Field1 like '%ÃÀ'

then the result is same to
select * fom Table1

How can I solve it?

Make sure you are connecting with the correct character set defined.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build
a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a
computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is
for insects. (RAH)
Back to top
Jeff Overcash (TeamB)
Guest





PostPosted: Tue May 30, 2006 3:34 am    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote

Emmanuel wrote:
Quote:
I am sure

IBX never changes your SQL. So either it is a database bug or a character set
error. The only thing I can think of beyond the character set is you might want
to try it as a parameterized query.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts, build
a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is for
insects. (RAH)
Back to top
Quinn Wildman
Guest





PostPosted: Tue May 30, 2006 10:37 pm    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote

Make sure you try isql too. This should figure out where the problem is.
Use SET NAMES with isql to define the client character set.

Emmanuel wrote:
Quote:
I am sure
"Jeff Overcash (TeamB)" <jeffovercash (AT) mindspring (DOT) com
??????:4470d33f$1 (AT) newsgroups (DOT) borland.com...
Emmanuel wrote:
If I request
select * from Table1 where Field1 like '%ÃÀ'

then the result is same to
select * fom Table1

How can I solve it?
Make sure you are connecting with the correct character set defined.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build
a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a
computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is
for insects. (RAH)

Back to top
Quinn Wildman
Guest





PostPosted: Wed May 31, 2006 12:10 am    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote

QA tells me IBX doesn't support MultiByte character sets. I think that
is the issue here.

Jeff Overcash (TeamB) wrote:
Quote:
Emmanuel wrote:
I am sure

IBX never changes your SQL. So either it is a database bug or a
character set error. The only thing I can think of beyond the character
set is you might want to try it as a parameterized query.
Back to top
Jeff Overcash (TeamB)
Guest





PostPosted: Wed May 31, 2006 6:23 am    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote

Quinn Wildman wrote:
Quote:
QA tells me IBX doesn't support MultiByte character sets. I think that
is the issue here.


IBX supports WideString under D2006. It has always supported Unicode just fine
which is a multibyte charset. I have a whole set of Unicode test suites that
show Unicode (multibyte) works.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts, build
a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is for
insects. (RAH)
Back to top
Emmanuel
Guest





PostPosted: Sat Jun 03, 2006 10:47 pm    Post subject: Re: bug Interbase "Like" does not support Chinese Reply with quote

I am using UNICODE_FSS
"Jeff Overcash (TeamB)" <jeffovercash (AT) mindspring (DOT) com>
??????:447cf016 (AT) newsgroups (DOT) borland.com...
Quote:
Quinn Wildman wrote:
QA tells me IBX doesn't support MultiByte character sets. I think that is
the issue here.


IBX supports WideString under D2006. It has always supported Unicode just
fine which is a multibyte charset. I have a whole set of Unicode test
suites that show Unicode (multibyte) works.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build
a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a
computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is
for insects. (RAH)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (InterBase Express) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.