fix-encoding-args: Remove a string check
ENC_NA should not be used because it is unnecessary and adds no information but since it is just a matter of style and a lot of code is using it be more lax and ignore that case.
This commit is contained in:
parent
eafcd7f97c
commit
ef581f230f
|
@ -93,15 +93,12 @@ my @types_STRING =
|
|||
"ENC_BIG_ENDIAN" => "ENC_ASCII",
|
||||
"ENC_NA" => "ENC_ASCII",
|
||||
|
||||
"ENC_ASCII|ENC_NA" => "ENC_ASCII",
|
||||
"ENC_ASCII|ENC_LITTLE_ENDIAN" => "ENC_ASCII",
|
||||
"ENC_ASCII|ENC_BIG_ENDIAN" => "ENC_ASCII",
|
||||
|
||||
"ENC_UTF_8|ENC_NA" => "ENC_UTF_8",
|
||||
"ENC_UTF_8|ENC_LITTLE_ENDIAN" => "ENC_UTF_8",
|
||||
"ENC_UTF_8|ENC_BIG_ENDIAN" => "ENC_UTF_8",
|
||||
|
||||
"ENC_EBCDIC|ENC_NA" => "ENC_EBCDIC",
|
||||
"ENC_EBCDIC|ENC_LITTLE_ENDIAN" => "ENC_EBCDIC",
|
||||
"ENC_EBCDIC|ENC_BIG_ENDIAN" => "ENC_EBCDIC",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue