Tech Support > Microsoft Windows > Drivers > How to support foreign characters in message file?
How to support foreign characters in message file?
Posted by h.wulff on March 16th, 2006


Hello,

I'm trying to support some non-english languages in my message file. But
the generated message .dll doesn't contain french accent nor german
umlauts. There are only some strange characters for such characters.

I played with several commandline options of mc.exe, like -U for unicode
output and -u for unicode input, but it doesn't help.

Has anyone successfully supported such languages and can give me a hint?

Thanks!
--
h.wulff

Posted by Maxim S. Shatskih on March 17th, 2006


This is the sample. Compiling it results in 3 MSGxxxx.BIN files, each for a
particular language.

---

MessageIdTypedef=NTSTATUS

SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
Warning=0x2:STATUS_SEVERITY_WARNING
Error=0x3:STATUS_SEVERITY_ERROR
)

FacilityNames=(System=0x0
RpcRuntime=0x2:FACILITY_RPC_RUNTIME
RpcStubs=0x3:FACILITY_RPC_STUBS
Io=0x4:FACILITY_IO_ERROR_CODE
shadow=0x5:FACILITY_VSNAP_ERROR_CODE
)

LanguageNames=(English=0x409:MSG00409)
LanguageNames=(Russian=0x419:MSG00419)
LanguageNames=(Japanese=0x411:MSG00411)

MessageId=0x0001 Facility=shadow Severity=Informational
SymbolicName=VSNAP_LOG_STARTED
Language=English
ShadowUser driver loaded.
..
Language=Russian
???????? ??????? ShadowUser.
..
Language=Japanese
ShadowMode??????????????
..
MessageId=0x0002 Facility=shadow Severity=Informational
SymbolicName=VSNAP_LOG_DISK_INIT
Language=English
Snapshot interface initialized for volume on %2.
..
Language=Russian
????????? ?????? ??????????????? ?? %2.
..
Language=Japanese
???????? ??????????????%2?????????
..


Posted by h.wulff on March 18th, 2006


Hi!

Maxim S. Shatskih wrote:
Thank you for your example. But my problem was in front of the
keyboard. =)
The message source file wasn't in unicode...

--
h.wulff


Similar Posts