OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Improper string encoding with DDE link

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
luke89
Newbie
Newbie


Joined: 30 Dec 2005
Posts: 3
Location: Łódź, Poland

PostPosted: Tue Jan 30, 2007 10:52 am    Post subject: Improper string encoding with DDE link Reply with quote

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
='file:///path/filename'#Sheet1.A1
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
=DDE("soffice";"path\filename";"Sheet1.A1")
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.

Lukasz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group