Subject | Unicode |
---|---|
Author | Robert martin |
Post date | 2007-09-24T22:19:55Z |
Hi
I know very little about Unicode and we have just embarked on a multi
lingual application (oops :) ). Am I right in thinking I can read and
write Unicode strings to the database using the standard .AsString
command (as it uses WideString) ? We are using the TIBO components.
Another slightly of topic question is...
We have to use an existing FB 2 database that does not have a specified
character set. Can we just define a field as VarChar(254) and store 254
Chinese characters in it? Do I need to define the field (say) 4 times
as large to handle multi byte characters? We just want to do this as
simply as possible so any hints / suggestions would be appreciated.
Thanks
Rob
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
I know very little about Unicode and we have just embarked on a multi
lingual application (oops :) ). Am I right in thinking I can read and
write Unicode strings to the database using the standard .AsString
command (as it uses WideString) ? We are using the TIBO components.
Another slightly of topic question is...
We have to use an existing FB 2 database that does not have a specified
character set. Can we just define a field as VarChar(254) and store 254
Chinese characters in it? Do I need to define the field (say) 4 times
as large to handle multi byte characters? We just want to do this as
simply as possible so any hints / suggestions would be appreciated.
Thanks
Rob
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd