|
|
|
File Attachments:
|
None
|
|
Image Attachments:
|
|
|
I think that you either need to make the limit for the number of characters 1 greater or 1 less. If you do so the string will be truncated correctly.
What's happening is that we are getting 1/2 a character instead of a full one.
My guess is that other languages using 2-byte characters are having the same problem.
I can see this when adding child courses to a meta course. (image attached.
|
|
Description
|
I think that you either need to make the limit for the number of characters 1 greater or 1 less. If you do so the string will be truncated correctly.
What's happening is that we are getting 1/2 a character instead of a full one.
My guess is that other languages using 2-byte characters are having the same problem.
I can see this when adding child courses to a meta course. (image attached. |
Show » |
|
and where exactly are you getting that problem?
I guess it's because we are using substr() or similar functions in that place where we shoudl be using their utf-8-safe textlib counterparts.
Mathieu, can you, once we know where ?
Ciao