[!!!][TASK] Remove GraphicalFunctions->nativeCharset
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-72338-RemovedGraphicalFunctions-nativeCharset.rst
1 ============================================================
2 Breaking: #72338 - Removed GraphicalFunctions->nativeCharset
3 ============================================================
4
5 Description
6 ===========
7
8 The property ``nativeCharset`` to allow GifBuilder to use other character-sets than UTF-8 for rendering text
9 for was removed. The default behaviour is now to always consider multi-byte strings via CharsetConverter,
10 as the data is expected to be UTF-8 at all times.
11
12 Additionally the methods ``recodeString()`` and ``singleChars()`` have been removed as the direct equivalent from
13 CharsetConverter is used.
14
15
16 Impact
17 ======
18
19 Calling any of the two methods above directly in PHP will result in a fatal error.
20
21 Setting $nativeCharset to something else than UTF-8 will have no effect anymore.
22
23
24 Affected Installations
25 ======================
26
27 Installations with custom setups and third-party PHP code using GifBuilder or GraphicalFunctions and the ``$nativeCharset`` option.
28
29
30 Migration
31 =========
32
33 Use ``CharsetConverter->utf8_to_numberarray()`` instead of the method ``singleChars()``.