Author Topic: Paypal does not show German special characters  (Read 116 times)

Belgaron

  • Beginner
  • *
  • Posts: 8
  • A beginner
Paypal does not show German special characters
« on: July 12, 2017, 15:21:35 pm »
Hi,

the Paypal plugin does not display German special characters on my site. Instead of e.g. 'Löwin' the article is renamed to 'Lowin'.

The Paypal plugin file \helper\paypal.php has the following code which is causing this issues on my site:

Code: [Select]
$name = preg_replace('/[^a-zA-Z0-9\s]/', '', $name);
When I change it to

Code: [Select]
$name = preg_replace('/[^a-zA-Z0-9äÄüÜöÖß\s]/', '', $name);
everything works as expected.

Is there a possibility that the Paypal plugin can get this change as a permanent modification? I do not want to modify the plugin code after each update.