---
title: "Breaking: #72338 - Removed GraphicalFunctions->nativeCharset"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-72338"
source: "Changelog/8.0/Breaking-72338-RemovedGraphicalFunctions-nativeCharset.rst"
typo3-version: "8.0"
typo3-major: 8
type: "breaking"
issue: 72338
forge: "https://forge.typo3.org/issues/72338"
tags: ["PHP-API"]
rendered: "2026-09-29T06:32:46+00:00"
---

# Breaking: #72338 - Removed GraphicalFunctions->nativeCharset {#breaking-72338}

See [forge#72338](https://forge.typo3.org/issues/72338)

## Description {#description}

The property `nativeCharset` to allow GifBuilder to use other character-sets than UTF-8 for rendering text
for has been removed. The default behaviour is now to always consider multi-byte strings via CharsetConverter,
as the data is expected to be UTF-8 at all times.

Additionally the methods `recodeString()` and `singleChars()` have been removed as the direct equivalent from
CharsetConverter is used.

## Impact {#impact}

Calling any of the two methods above directly in PHP will result in a fatal error.

Setting `$nativeCharset` to something else than UTF-8 will have no effect anymore.

## Affected Installations {#affected-installations}

Installations with custom setups and third-party PHP code using GifBuilder or GraphicalFunctions and the `$nativeCharset` option.

## Migration {#migration}

Use `CharsetConverter->utf8_to_numberarray()` instead of the method `singleChars()`.
