umlauts like äüö get mangled

Created on 14 January 2023, almost 2 years ago
Updated 15 January 2023, almost 2 years ago

Problem/Motivation

Text in the 'Privacy info' text, and actually all text in mytube-instance.tpl.php will get umlauts like äüö mangled e.g. instead of 'ü' will be displayed 'ü'

Steps to reproduce

put 'Ihre IP-Adresse wird hierbei an !domain übermittelt.' in the 'Privacy info' text field

Proposed resolution

$out = new DOMDocument('1.0', 'UTF-8');
$out->loadHTML(mb_convert_encoding(theme('mytube_instance', $variables), 'HTML-ENTITIES', 'UTF-8'));

worked as a remedy

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany a8w4 Frankfurt am Main

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024