News:

Support the VirtueMart project and become a member

Main Menu

Paypal does not show German special characters

Started by Belgaron, July 12, 2017, 15:21:35 PM

Previous topic - Next topic

Belgaron

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:

$name = preg_replace('/[^a-zA-Z0-9\s]/', '', $name);

When I change it to

$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.