Issue #692 has been updated by formalbridal (formalbridal bridal).


http://www.formalbridal.co.uk You would be all the heroine if you buy formal wedding dresses and so the girls are ready to spend their funds on merchandise, hair styling, in addition to make-up. 
----------------------------------------
Bug #692: non-ascii comment with Encoding.default_internal set raises Encoding::InvalidByteSequenceError
https://bugs.ruby-lang.org/issues/692#change-27970

Author: stefan (Stefan Lang)
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: 


=begin
 $ cat utf8comment.rb
     # encoding: utf-8
     # comment containing non ascii char: รถ
     p Encoding.default_internal
     p __ENCODING__
     p "foo".encoding
 
     $ ruby19 --version
     ruby 1.9.1 (2008-10-28 revision 19983) [x86_64-linux]
 
     $ ruby19 utf8comment.rb
     nil
     #<Encoding:UTF-8>
     #<Encoding:UTF-8>
 
     $ ruby19 -U utf8comment.rb
     ruby19: "\xC3" on US-ASCII (Encoding::InvalidByteSequenceError)
=end



-- 
http://bugs.ruby-lang.org/