In our project we have never had a need to support multi-byte characters, which means that this kind of functionality is totally untested in DCMTK. It may or may not work. In the case of Unicode (UTF8), however, I would expect things to work since UTF8 never introduced null bytes in the middle of a character string.
So can we simply use mbstowcs() to convert it to specific character set ?
Or do we need to do anything else (for e.g.: for showing Japanese patient name in Japanese character). Please advice
Marco Eichelberg wrote:In our project we have never had a need to support multi-byte characters, which means that this kind of functionality is totally untested in DCMTK. It may or may not work. In the case of Unicode (UTF8), however, I would expect things to work since UTF8 never introduced null bytes in the middle of a character string.