Opened 4 years ago
Closed 4 years ago
#2156 closed enhancement (fixed)
Check UTF-8 for text files that are uploaded without a selected character set
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.15 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
When uploading files to BASE the "Character set" option is typically set to -n/a-
unless the user manually changes the encoding (which is typically very rare).
This can cause problems later on since parsing the text file have to rely on the defaultCharset
setting in base.config which have a default value of ISO-8859-1.
While it is not possible to check every possible character encoding, checking if a file is UTF-8 is possible and I think we should implement a check in the file upload. If the file is detected to be UTF-8 compatible we set that, otherwise we keep the character set empty.
Change History (4)
comment:1 Changed 4 years ago by
Owner: | changed from everyone to Nicklas Nordborg |
---|---|
Status: | new → accepted |
comment:2 Changed 4 years ago by
comment:4 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
In 7623: