Re: require fails when requiring scripts with utf-8 filenames.
- From: Brian Candler <b.candler@xxxxxxxxx>
- Date: Sun, 13 Jun 2010 16:14:37 -0500
Daniel Jonson wrote:
Any suggestions? isnt utf-8 filenames supported? surely it must be?
Who knows? If you can find an official spec for how Strings work in ruby
1.9, I'd love to see it. So far what I've managed to reverse-engineer
I've documented here:
http://github.com/candlerb/string19/blob/master/string19.rb
How 'require' is influenced by string encoding I've not tested. It seems
to me the logical thing would be to treat filenames as just strings of
bytes (as the OS does), but as I say, who knows.
--
Posted via http://www.ruby-forum.com/.
.
- References:
- require fails when requiring scripts with utf-8 filenames.
- From: Daniel Jonson
- require fails when requiring scripts with utf-8 filenames.
- Prev by Date: Re: require fails when requiring scripts with utf-8 filenames.
- Next by Date: Re: Idiomatic Printing an array with commas
- Previous by thread: Re: require fails when requiring scripts with utf-8 filenames.
- Next by thread: State of the union for Ruby CLI libraries?
- Index(es):
Relevant Pages
|