Just as a short explanation why the subject won't work with simple UTF-8 encoding: The subject line is transmitted in the header, and all headers need to be ASCII.
This is because mail server mostly care only about the headers, and keeping them in clean ASCII removes the woes of the MTA authors to handle multiple encodings (and multi byte encodings).
P.S. For some reason the utf-8/Chinese characters get changed when you copy paste them to VI. If you have this problem you can first copy the chars to a notepad and then to VI.
Maybe your vi(m) isn't configured properly? You can use :set encoding=utf8 to fore the use of utf-8, and the option fileencoding can controls the encoding in which the file is stored to disk. If these options are different, vim converts between them automatically.
So far I had only problems with vim when a file had mixed charsets (like latin1 + utf8).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.