Views
Replies
Total Likes
Hmm. very interesting. I don't run into this often but believe the ascii() function will do the trick.
Example: {{ascii("Cédric Genzić"; true)}}
returns: Cedric Genzic
Hope this helps!
@Andy Hess‚ thanks for the tip!
I'll run all our special names through it to see if there are any exceptions. One that I did already find is Łukasz
Views
Replies
Total Likes
The default action is to simply strip the character that it can not map. and you will certainly find exceptions. The code page list is pretty exhaustive and the ascii conversion module must have a unicode char>ascii conversion built in. Looks like this Polish/Cyrillic character is not in the mapping. You can do some replace functions to hard map the exceptions ahead of the ascii() module to move them over but that may not be optimal as it can be a large replace list.
Why not carry over the actual unicode text?
Views
Replies
Total Likes
I'll add the replace functions for characters that are not included. This function creates a username in another system. That username must be based on firstname.lastname and doesn't support unicode characters. But the ascii() function already takes care of 99% of the issues that we had here :-)
Views
Replies
Total Likes
Views
Likes
Replies