A
A
Alexey Skahin2012-04-21 08:14:00
linux
Alexey Skahin, 2012-04-21 08:14:00

Working with ICONV in WINE

Good afternoon,
can you tell me if it is possible to work with linux commands when the program is launched from under WINE?
In particular, I'm interested in transcoding text through ICONV.

Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
ITLav, 2012-04-24
@pihel

You do not need iconv, regular MultiByteToWideChar and WideCharToMultiByte work and have no problems.
If garbage is added, look for problems in your program. Apparently, you are allocating a smaller buffer than you need.
If there really is a need to execute linux commands, then you can create a shell script in C:\windows\command, for example. Call it from Wine (it will be available), and all Linux commands will be available in it.

Z
z0rc, 2012-04-21
@z0rc

You won't be able to get out of the boundaries of Wine. You can get by with iconv from cygwin, mingw or msys.

Y
Yuri Popov, 2012-04-21
@DjPhoeniX

Use Linux, develop an application under wine in it, pulling Linux commands from the application ...
And why did I remember the button accordion phrase about Monsieur?

I
ixSci, 2012-04-21
@ixSci

Can you use ICU?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question