SJIS should not be used for internal encoding unless the reader is familiar with parser / compiler, character encoding and character encoding issues.
Il faut utiliser des fonctions qui supportent ces encodages.