Subject | Re: Unicode |
---|---|
Author | willie_juson |
Post date | 2005-03-31T03:22:29Z |
--- In firebird-support@yahoogroups.com, David Johnson
<d_johnson@c...> wrote:
the wall with Delphi and try a different approach.
Maybe via an asp.net page/c#. I'll just make sure I've got this
right though - I need to define the field(s) in the table(s) as
having no character set - NONE ?
again thanks for the feedback.
<d_johnson@c...> wrote:
> Recent reviews on this and the Firebird-architect list haveconcluded
> that the Unicode FSS support is based on an early version of theunicode
> specification that does not match the final documentation, and doesnot
> reflect any supported standard.more
>
> I had poor luck saving unicode from Delphi. Others may have had
> success. The Delphi (UCS2) widestring does not support enough codestore
> points to handle the full Unicode specification.
>
> However, I have been able to verify that Firebird will correctly
> and retrieve unicode UTF-8 characters from Java using the jaybirdJDBC
> driver, provided the character set of the database/column is set tofrom
> none. The caveats are that your column size is a byte size, not a
> character size, and that only byte order collation is meaningful
> the database. I used arabic, chinese, tibetan, english, and frenchas ?'s.
> strings to verify this.
>
> On display, if the target system does not have a font configured to
> represent a code point in the string, the data will be displayed
> Internally, however, it is still represented by the appropriate byteCould I
> code sequences.
>
> Hope this helps!
>
> On Wed, 2005-03-30 at 12:49 +0000, willie_juson wrote:
> >
> >
> >
> > I am writing an ASP.Net app with a Firebird backend database. It
> > requires multi language (Chinese/English initially) support.
> > please get some guidelines on how to store/retrieve chinese(simple)
> > characters from a database table. To get an understanding of itI've
> > been trying via a Delphi 7 app to populate the table usingTntWare data
> > aware controls plus IBConnection/IBQuery/TClientDataset datacontrols.
> > I can't get it to save chinese characters, as soon as I "post" arecord
> > the chinese character become "?"s.Thanks David that's a good start, I'll stop banging my head against
the wall with Delphi and try a different approach.
Maybe via an asp.net page/c#. I'll just make sure I've got this
right though - I need to define the field(s) in the table(s) as
having no character set - NONE ?
again thanks for the feedback.