#67 Unicode-unsafe string handling in mconsole

open
nobody
5
2009-07-17
2009-07-17
No

uml_mconsole uses a char[11] to represent the name of running instances. This is a bit short for multibyte-encoded strings. What's worse is that a multibyte character might be cut off in the middle, leaving a stray last character behind. This doesn't seem to affect the functionality, but nevertheless looks strange and broken in case of somewhat longer instance names.
Either not cutting off the name at all or using a unicode library will fix this issue.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks