mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
from_encoding and to_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									eadfbddd93
								
							
						
					
					
						commit
						7489c4d93e
					
				
					 2 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Tue Dec 25 16:51:07 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
 | 
			
		||||
	  from_encoding and to_encoding.
 | 
			
		||||
 | 
			
		||||
Tue Dec 25 16:41:57 2007  NAKAMURA Usaku  <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* golf_prelude.rb (h): add new method for all golfers.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4424,7 +4424,7 @@ from_SHIFT_JIS = {
 | 
			
		|||
};
 | 
			
		||||
static rb_transcoder
 | 
			
		||||
rb_from_SHIFT_JIS = {
 | 
			
		||||
    "UTF-8", "SHIFT_JIS", &from_SHIFT_JIS, 3, 0,
 | 
			
		||||
    "SHIFT_JIS", "UTF-8", &from_SHIFT_JIS, 3, 0,
 | 
			
		||||
    NULL, NULL,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -13354,7 +13354,7 @@ to_SHIFT_JIS = {
 | 
			
		|||
};
 | 
			
		||||
static rb_transcoder
 | 
			
		||||
rb_to_SHIFT_JIS = {
 | 
			
		||||
    "SHIFT_JIS", "UTF-8", &to_SHIFT_JIS, 2, 1,
 | 
			
		||||
    "UTF-8", "SHIFT_JIS", &to_SHIFT_JIS, 2, 1,
 | 
			
		||||
    NULL, NULL,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -18128,7 +18128,7 @@ from_EUC_JP = {
 | 
			
		|||
};
 | 
			
		||||
static rb_transcoder
 | 
			
		||||
rb_from_EUC_JP = {
 | 
			
		||||
    "UTF-8", "EUC-JP", &from_EUC_JP, 3, 0,
 | 
			
		||||
    "EUC-JP", "UTF-8", &from_EUC_JP, 3, 0,
 | 
			
		||||
    NULL, NULL,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -23633,7 +23633,7 @@ to_EUC_JP = {
 | 
			
		|||
};
 | 
			
		||||
static rb_transcoder
 | 
			
		||||
rb_to_EUC_JP = {
 | 
			
		||||
    "EUC-JP", "UTF-8", &to_EUC_JP, 2, 1,
 | 
			
		||||
    "UTF-8", "EUC-JP", &to_EUC_JP, 2, 1,
 | 
			
		||||
    NULL, NULL,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue