RED-10443 - 500 Error occurs when selecting ISO-8859-1 as Encoding Type for any CSV File Format - update - bp

- update also the key ISO encoding to ISO-8859-1
This commit is contained in:
corinaolariu 2024-11-22 11:52:11 +02:00
parent b68127b35f
commit 440384fa2d
2 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
export const fileAttributeEncodingTypesTranslations: { [key in FileAttributeEncodingType]: string } = {
'UTF-8': _('file-attribute-encoding-types.utf8'),
ASCII: _('file-attribute-encoding-types.ascii'),
ISO: _('file-attribute-encoding-types.iso'),
'ISO-8859-1': _('file-attribute-encoding-types.iso'),
};

View File

@ -21,6 +21,6 @@ export type FileAttributeConfigType = keyof typeof FileAttributeConfigTypes;
export const FileAttributeEncodingTypes = {
'UTF-8': 'UTF-8',
ASCII: 'ASCII',
ISO: 'ISO-8859-1',
'ISO-8859-1': 'ISO-8859-1',
} as const;
export type FileAttributeEncodingType = keyof typeof FileAttributeEncodingTypes;