Hi All,
Please let detail description how to achieve unicode support in
ruby.
Thanks,
Nandan
···
--
Posted via http://www.ruby-forum.com/.
Hi All,
Please let detail description how to achieve unicode support in
ruby.
Thanks,
Nandan
--
Posted via http://www.ruby-forum.com/.
I don't know what's your concrete problem. Maybe you could try to write:
# encoding: utf-8
at the beginning of the ruby file. Source:
2012/9/4 nandan k. <lists@ruby-forum.com>
Hi All,
Please let detail description how to achieve unicode support in
ruby.Thanks,
Nandan--
Posted via http://www.ruby-forum.com/\.
http://lmgtfy.com/?q=unicode+ruby
On Tue, Sep 4, 2012 at 9:06 AM, nandan k. <lists@ruby-forum.com> wrote:
Please let detail description how to achieve unicode support in
ruby.
--
Dave Aronson, Available Secret-Cleared Ruby/Rails Freelancer (VA/DC/Remote)
www.DaveAronson.com www.Codosaur.us www.Dare2XL.com www.RecruitingRants.com
nandan k. wrote in post #1074613:
Please let detail description how to achieve unicode support in
ruby.
It contains links to other documents too.
--
Posted via http://www.ruby-forum.com/\.
Hello,
I see that shebang:
#!/usr/bin/env ruby
doesn't work if not on the first line. Same goes for UTF-8:
# encoding: utf-8
needs to be the first one to get accepted.
Is there a way to combine both? To avoid having program.rb ? I like more 'program' + shebang.
Best Regards
On 4 Σεπ 2012, at 22:51 , Brian Candler <lists@ruby-forum.com> wrote:
nandan k. wrote in post #1074613:
Please let detail description how to achieve unicode support in
ruby.string19/string19.rb at master · candlerb/string19 · GitHub
It contains links to other documents too.
--
Posted via http://www.ruby-forum.com/\.
Panagiotis Atmatzidis
-----------------------------
Pharmacy Student at VFU
email4lists: ml@convalesco.org
More info: http://about.me/atmosx
The wise man said: "Never argue with an idiot, he brings you down to his level and beat you with experience."
Hello,
I see that shebang:
#!/usr/bin/env rubydoesn't work if not on the first line. Same goes for UTF-8:
# encoding: utf-8
needs to be the first one to get accepted.
This is incorrect. If the first line of the file is a shebang line, the
encoding line may follow it on the second line.
Is there a way to combine both? To avoid having program.rb ? I like more 'program' + shebang.
Yes, put the shebang line first and follow it with the encoding line.
-Jeremy
On 09/04/2012 03:28 PM, Panagiotis Atmatzidis wrote:
Hello,
Yes you're write, it must be in the 2nd line though, if it's in the 3rd like:
#!/usr/bin/env ruby
#
# encoding: UTF-8
Doesn't work
must be:
#!/usr/bin/env ruby
# encoding: UTF-8
thanks
On 4 Σεπ 2012, at 23:44 , Jeremy Bopp <jeremy@bopp.net> wrote:
On 09/04/2012 03:28 PM, Panagiotis Atmatzidis wrote:
Hello,
I see that shebang:
#!/usr/bin/env rubydoesn't work if not on the first line. Same goes for UTF-8:
# encoding: utf-8
needs to be the first one to get accepted.
This is incorrect. If the first line of the file is a shebang line, the
encoding line may follow it on the second line.Is there a way to combine both? To avoid having program.rb ? I like more 'program' + shebang.
Yes, put the shebang line first and follow it with the encoding line.
-Jeremy
Panagiotis Atmatzidis
-----------------------------
Pharmacy Student at VFU
email4lists: ml@convalesco.org
More info: http://about.me/atmosx
The wise man said: "Never argue with an idiot, he brings you down to his level and beat you with experience."