pierrchen/toPinyin — Issue #1: 请问，我碰到的这个问题是因为文件编码吗？
Author: DrayChou
Created: 2012-02-08 05:08:58+00:00
State: open

输出的结果=>

d:/RailsInstaller/Ruby1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': d:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/toPinyin-0.0.4/lib/toPinyin/uniToPyMap.rb:11310: invalid multibyte char (US-ASCII) (SyntaxError)
d:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/toPinyin-0.0.4/lib/toPinyin/uniToPyMap.rb:11310: invalid multibyte char (US-ASCII)
d:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/toPinyin-0.0.4/lib/toPinyin/uniToPyMap.rb:11310: syntax error, unexpected $end, expecting '}'
"7A24" => "l½ª4",
^
from d:/RailsInstaller/Ruby1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from d:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/toPinyin-0.0.4/lib/toPinyin.rb:3:in `'
from :33:in `require'
from :33:in `rescue in require'
from :29:in `require'
from D:/Dray/U/Git/Sites/topinyin.rb:3:in `

'

我的环境是 win7, RailsInstaller 1.9.2，谢谢