Python 3: PoC to correctly manage unicode strings from Python
The following use case does not work because of the caracter 'é':
>>> import salome
>>> salome.salome_study_init('/tmp/étude.hdf')
The solution here is to consider Unicode strings coming from all the
interfaces of SALOME modules, and then to convert them to encoded strings.
To do that:
- all IDL "string" parameters should be changed into "wstring".
- all C++ interfaces should have wchar_t* instead of char*
- wchar_t* inputs should then be encoded to char* using an ENCODE function (to be written)
- wchar_t* outputs should be decoded from char* using a DECODE function (to be written)