In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1342 [In-Portal CMS] Front End task always 2012-07-09 11:16 2012-09-16 04:45
alex  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.2.0  
https://groups.google.com/d/topic/in-portal-dev/YNBKQEC68dU/discussion
Changed only UTF-8 is allowed
1
0001342: Make UTF-8 the only one supported language encoding
In-Portal always allowed to enter custom charset for each language you've add. However from time, when we implemented this feature a lot has changed and now UTF-8 is major charset that supports all of them together.

I propose to remove Charset from Language settings and always use UTF-8.

I'm proposing this because recently I had a need to do some symbol conversions in OnAfterConfigRead event, which is called before actual charset from a language is detected and mb_internal_encoding is set.

For backwards compatibility we still can support "one-per-system" charset setting in config.php (like we do now with database), but not "each language have it's own charset" system, that is bad.
related to 0001423resolved  (5.2.1)alex Function "htmlspecialchars" breaks down UTF-8 encoding 
patch unified_charset_core.patch (21,492) 2012-07-13 11:34
http://tracker.in-portal.org/file_download.php?file_id=1739&type=bug
patch unified_charset_modules.patch (3,944) 2012-07-13 11:36
http://tracker.in-portal.org/file_download.php?file_id=1740&type=bug
patch unified_charset_themes.patch (3,374) 2012-07-13 11:36
http://tracker.in-portal.org/file_download.php?file_id=1741&type=bug
Issue History
2012-11-02 08:54 alex Relationship added related to 0001423
2012-09-16 04:45 alex Note Added: 0005180
2012-07-25 05:29 alex Note Added: 0004838
2012-07-25 05:29 alex Status resolved => closed
2012-07-13 11:44 alex Changeset attached 5.2.x r15445
2012-07-13 11:44 alex Note Added: 0004777
2012-07-13 11:44 alex Status reviewed and tested => resolved
2012-07-13 11:44 alex Fixed in Version => 5.2.0
2012-07-13 11:44 alex Resolution open => fixed
2012-07-13 11:44 alex Assigned To !COMMUNITY => alex
2012-07-13 11:42 alex Changeset attached 1.2.x r15444
2012-07-13 11:42 alex Changeset attached 5.2.x r15443
2012-07-13 11:42 alex Changeset attached 1.2.x r15442
2012-07-13 11:41 alex Changeset attached 5.2.x r15441
2012-07-13 11:41 alex Changeset attached 5.2.x r15440
2012-07-13 11:41 alex Changeset attached 5.2.x r15439
2012-07-13 11:40 alex Changeset attached 5.2.x r15438
2012-07-13 11:40 alex Note Added: 0004776
2012-07-13 11:40 alex Status needs testing => reviewed and tested
2012-07-13 11:40 alex Assigned To => !COMMUNITY
2012-07-13 11:40 alex Developer => alex
2012-07-13 11:40 alex Status active => needs testing
2012-07-13 11:36 alex File Added: unified_charset_themes.patch
2012-07-13 11:36 alex File Added: unified_charset_modules.patch
2012-07-13 11:34 alex File Added: unified_charset_core.patch
2012-07-09 11:16 alex New Issue
2012-07-09 11:16 alex Reference => https://groups.google.com/d/topic/in-portal-dev/YNBKQEC68dU/discussion
2012-07-09 11:16 alex Change Log Message => Changed only UTF-8 is allowed
2012-07-09 11:16 alex Estimate Points => 1

Notes
(0004776)
alex   
2012-07-13 11:40   
Will test all together later.
(0004777)
alex   
2012-07-13 11:44   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001342: Make UTF-8 the only one supported language encoding
(0004838)
alex   
2012-07-25 05:29   
Since 5.2.0 version was released.
(0005180)
alex   
2012-09-16 04:45   
Without this fix In-Portal can't work with UTF-8 urls on PHP 5.4.