Home Help Center

Automatic UTF-8 convertation

xoraxxorax Member Ivan BrykovOrganization: Opticsplanet inc
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

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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 [email protected].

    All the best,
    Bernard
Sign In or Register to comment.