Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 76a0014

Browse filesBrowse files
committed
Reverting so that this can be re-done as a PR
This reverts commit 20b272d.
1 parent 20b272d commit 76a0014
Copy full SHA for 76a0014

File tree

Expand file treeCollapse file tree

1 file changed

+0
-25
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-25
lines changed

‎reference/configuration/kernel.rst

Copy file name to clipboardExpand all lines: reference/configuration/kernel.rst
-25Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,11 @@ the parent :class:`Symfony\\Component\\HttpKernel\\Kernel` class.
1111
Configuration
1212
-------------
1313

14-
* `Charset`_
1514
* `Kernel Name`_
1615
* `Root Directory`_
1716
* `Cache Directory`_
1817
* `Log Directory`_
1918

20-
.. versionadded:: 2.1
21-
The :method:`Symfony\\Component\\HttpKernel\\Kernel::getCharset` method is new
22-
in Symfony 2.1
23-
24-
Charset
25-
~~~~~~~
26-
27-
**type**: ``string`` **default**: ``UTF-8``
28-
29-
This returns the charset that is used in the application. To change it, override the
30-
:method:`Symfony\\Component\\HttpKernel\\Kernel::getCharset` method and return another
31-
charset, for instance::
32-
33-
// app/AppKernel.php
34-
35-
// ...
36-
class AppKernel extends Kernel
37-
{
38-
public function getCharset()
39-
{
40-
return 'ISO-8859-1';
41-
}
42-
}
43-
4419
Kernel Name
4520
~~~~~~~~~~~
4621

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.