No subject

Tonigs, Nils ntonigs at ukaachen.de
Wed Oct 21 03:04:00 CDT 2009


Hi Ruslan,


> there is a problem with german umlaute.
> I use director 11.5 and v4md 4.3 with valentina office server 4.2
> 
> My director movie is build with director mx. And it work fine. All 
> letters are stored correctly.
> 
> My steps:
> 
> 1. open the MX-dir file with dir 11.5 and convert with "ANSI Latin I 
> (codepage 1250)"
> 
> 2. save text with umlaute to db

This step is not clear?

You mean that before this you RUN converter .dir file from IDE 11.5 So your app start to work, It open/create new Valentina db and try save text to DB,

Yes?

"Convert" means that if you open a MX-file with dir 11.5, a dialog-window appears where the settings to convert the MX-file to DIR 11.5-file.

After the the mx-file is saved as dir 11.5-file I run my app.

It read a text from a exist db-table (field type VarChar) and store it at a list.
Next step is to put the text into a new built text-member made with newMember(#text). A sprite displays this editable text-member on stage.

Then the user types some german umlaute like ä, ö, ü to the text.

To save the changes the text (as HTML-formated) where copie to the list. Then the db-field is filled with the text from the list.

After a updateRecord() the text

"<html><head><title>Untitled</title></head><body bgcolor="#FFFFFF">Gülle Tüten Zäpfchen means Liquid manure bag suppository</body></html>"

are saved as

"<html><head><title>Untitled</title></head><body bgcolor="#FFFFFF">Gülle Tüten Zäpfchen means Liquid manure bag suppository </body></html>"



And converted TEXT is stored in casts ?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  I think this is source of problems

The text-member are build at runtime. They are not exist at the converting-process.
 
> 3. look with valentine studio to the field => wrong letter in place of 
> the umlauts
> 
> 4. read the same text => wrong letter in place of the umlauts are 
> displayed at director movie
> 
> 5. correct the wrong letter at the db-field with valentine studio
> 
> 6. read the same text => the correct letters are displayed
> 
> 
> Second case:
> 
> 1. build a test-movie with director 11.5
> 
> 2. save text with umlaute to db
> 
> 3. read the same text => the correct letters are displayed
> 
> 
> To change the ioEncoding to iso-8859-1 has no effect.
> The default ioEncoding using director mx is iso-8859-1.
> The default ioEncoding using director 11.5 is utf-8.
> 
> 
> Any idea how to solve this?



Best regards,

Nils Tonigs

Audiovisuelles Medienzentrum

Medizinische Fakultät der RWTH Aachen

Pauwelsstr. 30

52074 Aachen

 

Tel.: +49-(0)241-80-89035

Fax: +49-(0)241-80-82561

E-Mail: ntonigs at ukaachen.de



More information about the Valentina mailing list