mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Better wording for __ENCODING__
"locale encoding" is misleading since it doesn't mean Encoding.find("locale")
but the encoding used to interpret the script file. It's therefore better to
call it "script encoding" as in the paragraphs above.
Closes: https://github.com/ruby/ruby/pull/1611
			
			
This commit is contained in:
		
							parent
							
								
									636a4fad16
								
							
						
					
					
						commit
						9311656914
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1548,7 +1548,7 @@ rb_enc_default_internal(void)
 | 
			
		|||
 * Additionally String#encode and String#encode! use the default internal
 | 
			
		||||
 * encoding if no encoding is given.
 | 
			
		||||
 *
 | 
			
		||||
 * The locale encoding (__ENCODING__), not default_internal, is used as the
 | 
			
		||||
 * The script encoding (__ENCODING__), not default_internal, is used as the
 | 
			
		||||
 * encoding of created strings.
 | 
			
		||||
 *
 | 
			
		||||
 * Encoding::default_internal is initialized by the source file's
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue