用scite写RB程序,输出中文提示US-ASCII错误,请教如何修改编码
ruby吧
全部回复
仅看楼主
level 1
扬竹梦4 楼主
用scite写RB程序,输出中文提示US-ASCII错误,请教如何修改编码
2012年05月06日 10点05分 1
level 9
文件的第一第二行写:
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
2012年05月07日 04点05分 2
level 9
哦,windows用
# -*- coding: GB2312 -*-
2012年05月07日 04点05分 3
level 9
windows下面 装个notepad++ 吧,比 scite 好用。
2012年05月07日 04点05分 4
level 9
GB2312就是 windows下面所谓的ANSI
2012年05月07日 04点05分 5
1