As UFT-8, and shift_jis shows different text format in text process.
UFT-8 can treat the basic kanji and almost every kind of English alphabet characters.
But Shift_JIS is special for Japanese Kanji.
Here is two conclusion.
1, You should use the same encoding type in your source code.
2, If, you cannot finish work according 1, Once you create a Shift_JIS format text, and
opened it in UFT-8, if there no special kanji , everything will be OK .
3, Conversely, if you write you text in UFT-8, and open it in Shift_JIS, mostly, you will
fail in your next process.
and then we can get a much more common general idea.
UFT-8 is heritated by Shift_JIS. It`s just like a coding pattern.