Project

General

Profile

Support #10599

escapeshellarg() removes non ascii chars

Added by Carsten Rose about 2 months ago. Updated 28 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
16.05.2020
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

Wenn Apache mit LANG=C laeuft werden

  • durch escapeshellarg() die Umlaute entfernt (eigenlich alle non Ascii chars). Beispiel: 'Universit├Ąt Z├╝rich' >> 'Universitt Zrich'
  • 'wkthml' entfernt ebenfalls die Umlaute aus Parametern.

Abhilfe: Apache mit dem System Local starten, welches heutzutage en_US.UTF-8 ist.

Ubuntu:

# File: /etc/apache2/envvars

# Activate line:
. /etc/default/locale

  • Damit entfernt escapeshellarg() keine non-Ascii Zeichen.
  • 'wkhtml' startet mit LANG=en_US.UTF-8 und stripped ebenfalls keine non-Ascii chars.

Associated revisions

Revision 53b31612 (diff)
Added by Carsten Rose about 2 months ago

Fixes #10599 / add note to escapeshellarg() removes non ascii chars

History

#1 Updated by Carsten Rose about 2 months ago

  • Description updated (diff)

#3 Updated by Carsten Rose 28 days ago

  • Target version changed from 20.7.0 to 20.6.0

Also available in: Atom PDF