File Logging - Encoding format
Previous  Top  Next


Section:
HKEY_LOCAL_MACHINE\SOFTWARE\Kiwi Enterprises\Syslogd\Properties

Value (STRING): LogFileEncodingFormat

Min value:   0
Max value:   65535
Default value:   1 (System)
Type:      Code page number


Normally the messages are written to the log files using the default encoding format (code page) of the system. If you are receiving messages from systems that use different default code pages, the best solution is to send/receive the messages using UTF-8 encoding. Kiwi Syslog Daemon can be set to convert the received messages into Unicode internally. When writing Unicode messages to a log file, it is recommended that you use UTF-8 (code page 65001) encoding. UTF-8 can represent all of the Unicode character set.

The various code pages available on most Windows systems can be found at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/act/htm/actml_ref_scpg.asp

Here are some common code page numbers that can be used:

Name
Code Page Number
Description
System
1
System Code Page
ANSI
0
ANSI
UTF-8
65001
Unicode Transformation Format 8
Shift-JIS
932
Japanese
EUC-JP
51932
Japanese Extended Unix Code
BIG5
950
Traditional Chinese
Chinese
936
Simplified Chinese


Please note: If the number you specify is not a valid Code Page on your system, no data will be written to the file.

If in doubt, use UTF-8 encoding (65001) as it will handle all Unicode characters.

For more information on Unicode and UTF-8, please see:
http://en.wikipedia.org/wiki/UTF-8