ファイルの中身をSJISにするために使ってる
375 376 377 378 379 380 381 382 383 384
# File 'lib/mymatrix.rb', line 375 def localEncode(v, enc = 's') case enc when 'u' str = MyMatrix.toutf8(v) when 's' str = MyMatrix.tosjis(v) else str = MyMatrix.tosjis(v) end end