Archived

This forum has been archived. Please start a new discussion on GitHub.

Automatic UTF-8 convertation

Hi!

Recently I asked about StringConverter plugin and it occurred to be unavailable in Ice 3.2.1 which we use in our project.

I tried to understand from relevant documentation which way to go but I got even more puzzled than before.

Here is my problem. I got an application (3rd party) providing some API. Using that API I have created a plugin (C++). This plugin provides ICE interface for remote server.

The application uses windows-1251 encoding so my plugin always gets and sends back strings encoded in windows-1251.

The remote server (PHP, Python, Ruby) though uses UTF-8. And that is definitely a problem since all strings need to be converted on fly.

Could you please suggest the most painless solution.

Comments

  • bernard
    bernard Jupiter, FL
    Hi Ivan,

    Ice 3.2.1 is quite old now, and you should consider upgrading. We provide free support on these forums only for the latest version of each product.

    If you need support for an older version of Ice, please contact sales@zeroc.com.

    All the best,
    Bernard