Joined: 30 Dec 2005
Location: Łódź, Poland
|Posted: Tue Jan 30, 2007 10:52 am Post subject: Improper string encoding with DDE link
|I am trying to link cells between two Calc documents. The source cell contains some Polish text with national characters. When I do this through
the linked content shows up as in the source document.
However that's not what I want because I need a DDE link. Unfortunately, when I try
the text displayed in the linked cell has Western European characters instead of Eastern European. It looks as if the string passed through DDE was encoded as iso-8859-2 on the "source side" and was improperly interpreted on the "target side" to be iso-8859-1. It seems strange to me because I would suppose Calc to pass a unicode string. The same behaviour is observable when the source cell is numeric but contains an error message (such as #VALUE) in Polish that has national characters in it. I tried to set and unset the language to "Polish" but nothing changed.
I cannot even get a Western European string passed properly. When I enter a Western character that isn't shared between 8859-1 and 8859-2, as the French e grave, I see a question mark in the target cell. Setting the language to "French" on either side doesn't help.
Is this behaviour on purpose or I don't understand something about using DDE? I'm using OO version 2.1 on Windows XP.
I would appreciate any help or info.