Crosspaltform accented characters

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Nov 13 21:42:18 CST 2004


On 11/12/04 7:36 PM, "Leo Van den Brande" <leo_van_den_brande at wxs.nl> wrote:

Hi Leo,
Hi All,

Guys, anybody can enlighten this issue?
German, Italian guys?!
Please help to Leo.

His original mistake IMHO was that Leo did store UTF8 text into Valentina
1.x db. This did not work of course.

Now as I understand Leo
- correctly have set German language for string fields.
- do conversion in RB code of RB String to MacRoman when store to disk.

But as I understand he still have problem, when try to read this db on
Widows. He should after read assign Latin1 encoding to string that
Valentina 1.x have return, right?

> Hi all,
> 
> Developing on RB 5.2.4 for Mac OSX and 9, and Windows, I experience
> the following problem.
> 
> After transfer of the Valentina database between paltforms,  accented
> characters are removed except for one nonsensical character if stored
> on Mac OS and transferred to Windows. If stored on Windows and
> transferred to Mac OS.the text is truncated at the first occurrence of
> an accented character.
> 
> I store as is and define UTF8 on retrieval.
> 
> Ruslan Zasukhin advised me to change language from ASCII to German. He
> also asked me to put the question on the list. So, I overcome my
> shyness as non-professional and post this.
> 
> Taking the simple approach, I changed definitions, recompiled for Mac
> OS X and Windows. Next, stored text from a previous database on the
> Mac. On the Mac, I got good retrieval as expected. However, under
> Windows, the same problem occurred..
> The other way around: storage under Windows, moving the database to
> the Mac and retrieve, yielded the same problem as before.
> 
> QUESTION: should I construct a conversion routine, using the two
> definitions (ASCII and German) and copy all contents of the database
> between them or is there another way that any of you knows?
> 
> Any suggestion will be appreciated!

Leo, I do not understand why you talk here about ASCII at all?

It seems to me you have right now some db with some data which you want to
import into new db ?

Try via XML dump. 
Make dump from original db.
Directly in XML you can change ASCII language to German.
Import into new fresh db.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list