#472 closed Defect (fixed)
Charset doesn't get exported correctly
| Reported by: | tstrunk | Owned by: | Rytis |
|---|---|---|---|
| Priority: | Minor | Milestone: | Undetermined |
| Component: | Web - Localization | Version: | |
| Keywords: | Cc: |
Description (last modified by )
The Charset is not exported correctly anymore, like it is set in the translation file for each language.
Util.inc:117 (revision 14119 - current)
header("Content-type: text/html; charset=".tra(CHARSET));
should either be
header("Content-type: text/html; charset=".tra("CHARSET")); //because tra operates on strings
or
header("Content-type: text/html; charset=".tr(CHARSET)); //to take the CHARSET token
To 'reproduce' the bug, you can check the used charset for example in Firefox with 'Right Click -> View Page Info". Without the fix it should just use the default charset for your browser.
Change History (2)
comment:1 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 Changed 18 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.

(In [14203]) Fix #472 (charset not selected correctly from translation file)