源代码:
#!/usr/bin/ruby -w # -*- coding: UTF-8 -*- puts "你好,世界!";
运行结果:
#!/usr/bin/ruby -w # -*- coding: UTF-8 -*- puts "你好,世界!";