Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Texts retrieved by FormatMessage on Windows #47
Some issues about FormatMessage used here on Windows
A potential bug
The 6th argument
Message is incorrectly stripped on Japanese.
Trailing period and carriage return are stripped here. However, when the last character before carriage return is a multi-byte character, the character is broken. It should be stripped only when it is really period.
The error message retrieved by
Programs in the samples directory print garbled text in Japanese Windows command prompt when OCI.DLL is not found. If the message language is English, it isn't garbled.
Add error number to the message
When the message isn't changed to English, could you add the error number to the message?
When an issue is posted with a localized error message and you don't know the language, you cannot read the message. Moreover if it is garbled as messages in Japanese Windows command prompt, nobody read it. If the error number is included in the text, you can know the error as follows.