global.Encoder (static)
global.Encoder.encode( toenc, text )
TJS2の文字列を、引数 toencに従って符号化し、オクテット列に変換します。
変換後のオクテット列を返します。