Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Offcanvas trigger text -> unicode code instead of character

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

I have a problem with Offcanvas trigger text.
If I use my language characters, I have unicodes (eg. u0104) displayed instead of characters.

I have no problem with my language characters in any other place so far.
offcanvas_text.jpg


Can you help me with this issue?
Thx,
Mat
  • Mateusz's Avatar
  • Mateusz
  • 3 Month Basic
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Mat,

sorry for the delay on a reply we've had a few server problems

Can you post here what you've been trying to add to the off canvas trigger text?

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

I've been trying to add some words that contanins polish language charakters.

In example above I have insert word "więcej" (polish for "more") in offcanvas trigger text field.
Instead of this I've got "wiu0119cej" where unicode u0119 was inserted in place of letter ę.

This is also happening for other polish letters. I didn't check it with other "non-standard" unicode characters.

Regards,
Mat
  • Mateusz's Avatar
  • Mateusz
  • 3 Month Basic
  • 9 posts
  • Karma: 0
Last Edit: 3 years 9 months ago by Mateusz.
The administrator has disabled public write access.
Hi Mat,

What font family are you using?

Does it support polish?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm usung google open sans. This font support polish. I've tried other font families with same result. There is also second place where this is happening. It is hidden panel which has also trigger text defined in template settings.
In all other parts of website I don't have this issue.

Thank you in advance for your help.

Mat
  • Mateusz's Avatar
  • Mateusz
  • 3 Month Basic
  • 9 posts
  • Karma: 0
Last Edit: 3 years 9 months ago by Mateusz.
The administrator has disabled public write access.
Hi Mat,

I have an old test site here

riversideconsultancy.co.uk/buildr/

Is this what you are wanting to have?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
1.
I've done some digging, and I found out that offcanvas trigger text is displayed properly if I put "\\u0119" instead of leter "ę" in template off canvas settings -> and this is working for all other polish characters.

2.
As far as I found out template settings are stored in buildr/settings/config/ in files config-XX.json
If I put simply text "Więcej" in template offcanvas trigger text field, it is stored in config file as "Wi\u0119cej"
If I edit config file and replace this by hand to "Więcej" it is also displayed correctly on website.

To summarize: I think that all language specific character would be displayed properly if they were stored as unicodes with two \ (e.g. \\u0119) and not with single \ like it is now.
  • Mateusz's Avatar
  • Mateusz
  • 3 Month Basic
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Paul, yes this is what i wanted to get,
  • Mateusz's Avatar
  • Mateusz
  • 3 Month Basic
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Mat,

I didn't actually change anything other than paste the text in

I can only assume it is a font problem or something we've not come across before

Can you add screenshots of the font settings you have set to display on the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers