Ask Your Question

[crosspost] What interface or service for utf encode decode

asked 2018-07-04 11:06:03 +0200

Lupp gravatar image

updated 2018-07-04 11:23:42 +0200

(Also posted as:

Are there services / interfaces commissioned to encode in / decode from utf (8 / 16)?
The software is obviously capable to do it on import / export. How is the kind of task represented in the uno-api? I cannot find respective entries in (e.g.).

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-07-04 20:39:30 +0200

Jim K gravatar image

The only thing I could find in the UNO API is the IO streaming services at

Most programming languages have Unicode encoding capability built-in, for example, The main project I support currently is an LO extension that relies heavily on Unicode encoding and decoding. It is written in Python and uses an external C# application for advanced conversion, for example, to convert from Tamil script to Malayalam script.

I could post an example of how to change the encoding ofünchen&point=Београд in Python or Java. However, I read through your post on and was unable to determine clearly what you want to do with the string.

edit flag offensive delete link more


@Jim K: Thank you for your interest.
As so often I was interested mainly in understandig. The behaviour of Firefox (Not to speak of Iexplore!) when copying a URI to the clipboard baffled me.
On the other hand, using Firefox I don't need to encode for URI going to the browser. It's done there. However, I don't know what browser a "client" of mine will use.
On the third hand I want to also implement an analysis of URI returned by the service provider, and this requires %utf-8>to>character.

Lupp gravatar imageLupp ( 2018-07-04 23:54:50 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-07-04 11:06:03 +0200

Seen: 124 times

Last updated: Jul 04 '18