Trim issue with Unicode's non-breaking space

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
Not sure if it's a bug but the trim function does not remove the character "\xa0" (i.e. 160), which is the standard Unicode translation for  . (Unicode's non-breaking space)

I wasted a bit ot time because of this particular space character.

Is it possible to make the trim function remove this character ?

Thanks
 

copper12

Client
Регистрация
26.11.2016
Сообщения
1 111
Благодарностей
260
Баллы
63
Hello,
You can use instead the action Text Processing - Replace.
 

copper12

Client
Регистрация
26.11.2016
Сообщения
1 111
Благодарностей
260
Баллы
63
Can you give an example of a string with the character xa0 ?
The action Trim removes characters at the beginning and end of a string
 

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
Hello Cooper12, sorry for the delay, here is a string I just made:
"Here is the xa0 character -> "
Hopefully the WYSIWYG editor will not replace it with a regular space.
Otherwise, you can generate the character by doing: Alt + 0160

Thanks
 

copper12

Client
Регистрация
26.11.2016
Сообщения
1 111
Благодарностей
260
Баллы
63
Hello,
It's bug, I sent the request to programmers. I will inform about this issue when it will be fixed
 

copper12

Client
Регистрация
26.11.2016
Сообщения
1 111
Благодарностей
260
Баллы
63
This bug has been fixed. You can check the next version 5.11.3.0. that will be released later.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)