Re: Data Abstract Blob Error
- From: "Danijel Tkalcec [RealThinClient.com]" <dtkalcec@xxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 15:55:27 +0200
If you're working with Delphi, maybe this will help ...
I don't know anything about RemObjects, but if you are using the
"Transliterate=True" option when working with Blob Streams (this is the
default option for most Blob Stream implementations), you will probably just
need to turn Transliterate to FALSE before using the stream and everything
should be ok, as long as you're using normal strings (not WideString or
UTF-Strings).
The Transliterate option is there to convert international characters
to-and-from local system's codepage, which ends up corrupting your binary
data if reconstructed on a machine with different codepage. I doubt that
your problem has something to do with the fact that RemObject might be using
Strings to store the data, since in Delphi, Strings are stored without any
transformation (same as an array of char or byte).
Naturaly, if you are storing data inside a database, you should use a field
type which doesn't make any transformations (for example, CLOB in Oracle
makes data transformations depending on character set, which wouldn't be
good for your purpose).
Btw ... Java works with Unicode strings (not like Delphi) and if you were
working with Java, you would have to store your data as an array of bytes to
avoid getting corrupted results.
Best Regards,
Danijel Tkalcec
www.realthinclient.com
"Rol" <m.solv@xxxxxxxxxxxxxx> wrote in message
news:42c3a732@xxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> Hi all ,
>
>
> We developp an application with DataAbstract an deploy it on chinese
> systems. Unfortunatly it seems that binary data is corrupted
> if localization of writer and reader are different (because binary data is
> treated as astring).
> This is a real problem for deploying international applications with
> DataAbstract layer.
>
> Is anyone has been confronted to this issue and has a solution to this
>
> Thanks,
>
> Jean-Laurent
>
.
- Follow-Ups:
- Re: Data Abstract Blob Error
- From: Lauchlan M
- Re: Data Abstract Blob Error
- References:
- Data Abstract Blob Error
- From: Rol
- Data Abstract Blob Error
- Prev by Date: Re: Audio/Video Conference
- Next by Date: Re: ShareIt publishes our email address to other companies?
- Previous by thread: Re: Data Abstract Blob Error
- Next by thread: Re: Data Abstract Blob Error
- Index(es):
Relevant Pages
|