Unicode data display is showing ḷṃṇ

Creating a macro - Writing a Script - Using the API

Unicode data display is showing ḷṃṇ

Postby BoskeyT » Mon Feb 18, 2008 9:06 am

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...
Posts: 2
Joined: Mon Feb 18, 2008 8:06 am

Re: Unicode data display is showing ḷṃṇ

Postby pitonyak » Wed Feb 20, 2008 4:54 pm

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
LO and AOO on Fedora
Posts: 186
Joined: Sun Oct 07, 2007 9:13 pm
Location: Columbus, Ohio, USA

Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 4 guests