This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by benH-11 1 month, 2 weeks ago.

Assigned support staff: Riffaz.

Author Posts
September 2, 2019 at 8:08 am #4495141

benH-11

I am the website developer for inasia.consulting

The business owner has asked me about the Russian URL format changing when shared in Messenger and Facebook and anywhere else.

You can see what happens below

hidden link

I cant give him any answers as im not sure why this happens?

Any ideas?

Thanks for your time,

Ben

September 2, 2019 at 8:23 am #4495241

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

This is related character encoding globally.

The characters you see that are preceded by % are UTF-8 (or even UTF-16) character encoding. Since URLs are pure text strings, simply sending the actual Russian character won’t show. This raw UTF-8 encodings will show but rest assured those URLs will work fine.

Those character can be replaced with the real ones. Like if there is %26 then it can be replaced by &. See this: en.wikipedia.org/wiki/Percent-encoding.

if you say: I know its related with unicode characters. I am asking how to fix it?

Twitter/facebook or any sites can't show special characters in links, instead it converts them. There is no way to "fix" it.

So this is not something related to WPML 🙂

Regards,
Riffaz.

September 6, 2019 at 5:59 am #4523399

benH-11

My issue is resolved now. Thank you!