Unicode data display is showing ḷṃṇ

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
BoskeyT
Posts: 2
Joined: Mon Feb 18, 2008 8:06 am

Unicode data display is showing ḷṃṇ

Post by BoskeyT »

Hi all,

I have a function that simply inserts the converted string(Unicode data) in place of the selected
string (Other Encoding ie non unicode data) in the active document.But despite proper insertion it inserts ḷṃṇ.
Its Hex value is proper and same data appears proper in Notepad and winword. Please Help me.......

code snippet..
dim string1 as string ' Non-Unicode Data
dim string2 as string ' Unicode Data
string2 = convert2Unicode(string1 )
after conversion its shows...
string2 = ḷṃṇ
please Help me !! i m stuck with it...
pitonyak
Volunteer
Posts: 186
Joined: Sun Oct 07, 2007 9:13 pm
Location: Columbus, Ohio, USA

Re: Unicode data display is showing ḷṃṇ

Post by pitonyak »

Can you provide a small complete example that runs? For example, this is a complete running example that inserts a unicode character at the cursor

http://codesnippets.services.openoffice ... acter.snip
Andrew Pitonyak
http://www.pitonyak.org/oo.php
LO and AOO on Fedora
Post Reply