This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle
Fabien Potencier 89fd9653b4 merged branch Seldaek/trans_charset (PR #2339)
Commits
-------

5473d3b [Translation] Allow use of UTF-8 encoded catalogues into non-UTF-8 applications
deb6dea [Translation] Add failing tests to verify that UTF-8 lang files can't be used with another charset

Discussion
----------

Allow use of UTF-8 catalogues in non-UTF-8 applications

This is #2313 but targetting the master branch.

Bug fix: yes
Feature addition: ?:)
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -

The problem I'm having is that, while porting an existing app, we are using UTF-8 everywhere to have a migration path ready, but the current application and DB is still in ISO-8859-1, which means translations containing accented chars are broken.

Also, we didn't hit the issue yet since we don't use forms much, but I imagine we would have similar issues with core translations for the validator which are all UTF-8 encoded.

Note that I explicitly suppressed this conversion in case your application is setup as UTF-8, to make sure most people are not affected by any slow down this introduces.
2011-10-07 12:00:26 +02:00
..
CacheWarmer simplified cache warmers 2011-06-07 11:42:27 +02:00
Command [FrameworkBundle] added a --relative option to assets:install 2011-09-28 17:38:41 +02:00
Console fixed CS 2011-06-08 12:12:55 +02:00
Controller [FrameworkBundle] tweaked some error messages 2011-09-28 09:15:53 +02:00
DataCollector Renamed core.* events to kernel.* and CoreEvents to KernelEvents 2011-06-21 16:35:14 +02:00
Debug [FrameworkBundle] Changed TraceableEventDispatcher to log calls to event listeners _before_ actually calling them 2011-07-23 10:49:25 +02:00
DependencyInjection Implementation of kernel.event_subscriber tag for services. 2011-09-29 17:44:16 +02:00
EventListener [HttpFoundation] changed the strategy introduced in a5ccda47b4 to fix functional tests and still allow to call save more than once for a Session 2011-09-14 20:54:45 +02:00
HttpCache [Phpdoc] Cleaning/fixing 2011-04-23 15:18:47 +00:00
Resources [Translation] Allow use of UTF-8 encoded catalogues into non-UTF-8 applications 2011-10-07 11:21:05 +02:00
Routing Removed redundant "@return void"-s 2011-10-07 11:15:35 +03:00
Templating merged branch lsmith77/template_locator (PR #2128) 2011-09-23 21:00:46 +02:00
Test converted file_exists calls to either is_file or is_dir where it makes sense 2011-08-29 15:28:26 +02:00
Tests Removed now useless test 2011-09-29 18:17:30 +02:00
Translation [Translation] Allow use of UTF-8 encoded catalogues into non-UTF-8 applications 2011-10-07 11:21:05 +02:00
Validator updated my email address 2011-05-02 05:59:56 -07:00
Client.php added missing ' escaping 2011-07-22 13:37:23 +02:00
composer.json updated composer.json for 2.1 2011-09-29 17:40:43 +02:00
ContainerAwareEventDispatcher.php Backported new behaviour from PR #2148 and removed check for interface at run-time 2011-09-29 17:49:53 +02:00
FrameworkBundle.php -- add command that extracts translation messages from templates 2011-09-09 10:23:54 +02:00
HttpKernel.php Fixed the creation of the subrequests 2011-09-18 00:24:28 +02:00