Page MenuHomePhabricator

Merge all UTF-8 support code into Language base class
Closed, ResolvedPublic

Description

Author: rotemliss

Description:
Because every language is now UTF-8, we should merge the LanguageUtf8 class
(languages/LanguageUtf8.php) into the base Language class
(languages/Language.php). It's marked as FIXME in Language.php, however it is
not fixed yet, so I've fixed it.


Version: 1.7.x
Severity: trivial

Details

Reference
bz6173

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:20 PM
bzimport set Reference to bz6173.
bzimport added a subscriber: Unknown Object (MLST).

rotemliss wrote:

Patch (trunk)

In this patch, I've copied all the functions in LanguageUtf8 into Language,
replaced the general functions of Language with the functions of LanguageUtf8,
replaced "extends LanguageUtf8" with "extends Language", and removed the
"require_once" of LanguageUtf8.php (no need to include Language.php, it is
already included in includes/Setup.php).

Attached:

  • This bug has been marked as a duplicate of 2069 ***