Opened 16 years ago
Closed 16 years ago
#1090 closed defect (fixed)
Import plug-ins ignores selected character set when validating files
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.8 |
Component: | coreplugins | Version: | |
Keywords: | Cc: |
Description
Upload a file with a data header that contains non-ascii characters that has been saved with a character set different from the BASE default (usually UTF-8 or ISO-8859-1).
This is tested with the annotation importer and (coming) batch importer.
Use the "Test with file" function to select character set, regular expressions, etc. When everything works fine click "Ok" and then "Next". The plug-in complains: The file could not be parsed with the given settings, no data found after X lines..
This happens because the plug-in tries to validate that the regular expressions really match the file, but it uses the default character set (or the character set saved in the configuration) instead of the currently selected character set.
(In [4412]) Fixes #1090: Import plug-ins ignores selected character set when validating files