Opened 6 years ago

Closed 6 years ago

#2158 closed enhancement (fixed)

The "Edit file" function should use UTF-8 if no explict character set has been specified

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.15
Component: web Version:
Keywords: Cc:

Description

The "Edit file" function in the web client is enabled for text files. It will usually use the character encoding specified in the File item. If the file items has not specified an encoding (which is common) it uses the defaultCharset setting from base.config. The default value for this setting is ISO-8859-1 which can only encode a limited number of characters and may cause text to become corrupted. Also note that the documentation for the defaultCharset also says: The default character set that will be used to parse text files. It should not be used for saving.

Change History (1)

comment:1 by Nicklas Nordborg, 6 years ago

Resolution: fixed
Status: newclosed

In 7625:

Fixes #2158: The "Edit file" function should use UTF-8 if no explict character set has been specified

Note: See TracTickets for help on using tickets.