Answer the question
In order to leave comments, you need to log in
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
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.
You won't be able to get out of the boundaries of Wine. You can get by with iconv from cygwin, mingw or msys.
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?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question