Hi All,
Please let detail description how to achieve unicode support in
ruby.
Thanks,
Nandan
Hi All,
Please let detail description how to achieve unicode support in
ruby.
Thanks,
Nandan
I don’t know what’s your concrete problem. Maybe you could try to write:
at the beginning of the ruby file. Source:
2012/9/4 nandan k. [email protected]
On Tue, Sep 4, 2012 at 9:06 AM, nandan k. [email protected] wrote:
Please let detail description how to achieve unicode support in
ruby.
nandan k. wrote in post #1074613:
Please let detail description how to achieve unicode support in
ruby.
It contains links to other documents too.
Hello,
I see that shebang:
#!/usr/bin/env ruby
doesn’t work if not on the first line. Same goes for 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 C. [email protected] wrote:
Panagiotis A.
On 09/04/2012 03:28 PM, Panagiotis A. 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
Hello,
Yes you’re write, it must be in the 2nd line though, if it’s in the 3rd
like:
#!/usr/bin/env ruby
Doesn’t work
must be:
#!/usr/bin/env ruby
thanks
On 4 Σεπ 2012, at 23:44 , Jeremy B. [email protected] wrote:
needs to be the first one to get accepted.
Panagiotis A.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs