Add aliases to recognize normalized charset names (bug 19527)

Message ID mvm8t9ni4xt.fsf@suse.de
State New
Headers show
Series
  • Add aliases to recognize normalized charset names (bug 19527)
Related show

Commit Message

Andreas Schwab April 16, 2018, 2:47 p.m.
[BZ #19527]
	* iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.

Comments

Carlos O'Donell April 16, 2018, 2:53 p.m. | #1
On 04/16/2018 09:47 AM, Andreas Schwab wrote:
> 	[BZ #19527]
> 	* iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
> 
> diff --git a/iconvdata/gconv-modules b/iconvdata/gconv-modules
> index 5dedbd4e8d..12f5d899cd 100644
> --- a/iconvdata/gconv-modules
> +++ b/iconvdata/gconv-modules
> @@ -1566,6 +1566,7 @@ module	MAC-SAMI//		INTERNAL		MAC-SAMI	1
>  module	INTERNAL		MAC-SAMI//		MAC-SAMI	1
>  
>  #	from			to			module		cost
> +alias	ARMSCII8//		ARMSCII-8//
>  module	ARMSCII-8//		INTERNAL		ARMSCII-8	1
>  module	INTERNAL		ARMSCII-8//		ARMSCII-8	1
>  
> @@ -1581,6 +1582,7 @@ module	EUC-JISX0213//		INTERNAL		EUC-JISX0213	1
>  module	INTERNAL		EUC-JISX0213//		EUC-JISX0213	1
>  
>  #	from			to			module		cost
> +alias	ShiftJISX0213//		Shift_JISX0213//
>  module	Shift_JISX0213//	INTERNAL		SHIFT_JISX0213	1
>  module	INTERNAL		Shift_JISX0213//	SHIFT_JISX0213	1
>  
> 

Looks reasonable. Thanks.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

Patch

diff --git a/iconvdata/gconv-modules b/iconvdata/gconv-modules
index 5dedbd4e8d..12f5d899cd 100644
--- a/iconvdata/gconv-modules
+++ b/iconvdata/gconv-modules
@@ -1566,6 +1566,7 @@  module	MAC-SAMI//		INTERNAL		MAC-SAMI	1
 module	INTERNAL		MAC-SAMI//		MAC-SAMI	1
 
 #	from			to			module		cost
+alias	ARMSCII8//		ARMSCII-8//
 module	ARMSCII-8//		INTERNAL		ARMSCII-8	1
 module	INTERNAL		ARMSCII-8//		ARMSCII-8	1
 
@@ -1581,6 +1582,7 @@  module	EUC-JISX0213//		INTERNAL		EUC-JISX0213	1
 module	INTERNAL		EUC-JISX0213//		EUC-JISX0213	1
 
 #	from			to			module		cost
+alias	ShiftJISX0213//		Shift_JISX0213//
 module	Shift_JISX0213//	INTERNAL		SHIFT_JISX0213	1
 module	INTERNAL		Shift_JISX0213//	SHIFT_JISX0213	1