LiFe CycLe

it works, it obsoletes!

2007年6月20日 星期三

修正tiger email中 中文出現亂碼的情形

這是一個滿多人遇到的問題,就是在使用email回信或是用中文寫信之後,傳送出去的email對方收到之後卻是亂碼,這主要是因為tiger 的mail在原本設定上的問題,下面是一個簡單的方法讓你不用每次在傳送之前都要去更改送出的編碼。

Topic: kmail: Fixing Tiger Mail Encodings


With the system language set to English, Tiger Mail uses UTF-8 as the default encoding for outgoing mail for various languages that use non-Roman scripts. While this is fine for recipients using modern mail clients, it can result in unintelligible text on older systems, webmail, and cell phones. Suggested remedies for some specific cases where this problem can arise are as follows:
因為tiger的mail是用英文語系的,所以他們使用 utf-8 做為他們的編碼。雖然在現在較新的mail 客戶端都可以正常的轉碼,但是可能會導致某些較舊的系統,webmail 或是手機無法辨識。以下是比較建議的解決方案(我只翻譯中文的部份= =+)

Japanese: The best encoding to use is ISO-2022-JP. Although this can be set manually for each message using Message > Text Encoding, that can be tedious and will often result in Subject lines still garbled. To set the default to this option, open Terminal and type:

defaults write com.apple.mail NSPreferredMailCharset "ISO-2022-JP"

(Also in Apple KB)

Russian: The best encoding to use is KOI8-R. Unfortunately this cannot be set manually for each message, because it is grayed out in the menu in Message > Text Encoding. To set the default for this option, open Terminal and type:

defaults write com.apple.mail NSPreferredMailCharset "KOI8-R"

Traditional Chinese: The best encoding is Big-5. This can be set manually for each message in Message > Text Encoding. To set the default for this option, open Terminal and type:
defaults write com.apple.mail NSPreferredMailCharset "BIG5"
在中文裡面最適用的編碼是big5。這個設定可以用手動的更改在Message > Text Encoding。要更改預設的值的話要開啟terminal 在裡面輸入:

defaults write com.apple.mail NSPreferredMailCharset "BIG5"


Simplified Chinese: The best encoding is GB-2312. This can be set manually for each message in Message > Text Encoding (where it is called EUC). To set the default for this option, open Terminal and type:

defaults write com.apple.mail NSPreferredMailCharset "EUC-CN"

Korean: The best encoding is EUC-KR. This is however grayed out in Message > Text Encoding. To set the default for this option, open Terminal and type:

defaults write com.apple.mail NSPreferredMailCharset "EUC-KR"

Note that there should be no problem if the system is set to the language in question. In this case, the default encoding for Mail is not UTF-8 but that indicated as the "best encoding" above. Also, using the terminal commands mentioned here does not change the encoding used by Mail for English.

If you do not find the encoding you need in Message > Text Encoding, go to System Preferences/International/Languages and use the Edit button to add the language in question to the list.

標籤: , ,

0 個意見:

張貼留言

訂閱 張貼留言 [Atom]

<< 首頁