Quote from
noyzen on December 8, 2021, 4:34 pm
UPDATE:
i have found another solution..
using VisualNEO Web "StrEncodeURI" and "StrDecodeURI"
This one work perfectly, this is what i want.
but there is a problem with this one too...
it's too long! for example this method convert 1 Persian UTF8 Character "ز" into 6 characters: "D8%B2%"
Which means Database will be x6 Time larger and slwoer than usual.
i think i will go with this method for now until i find a better way...
NOTE: Using function "UnicodeToChar" and "CharToUnicode" to proccess all characters one by one should work also and is less size (x3) but converting a long text Memo will take a long time i think... i may test this one also.
UPDATE:
i have found another solution..
using VisualNEO Web "StrEncodeURI" and "StrDecodeURI"
This one work perfectly, this is what i want.
but there is a problem with this one too...
it's too long! for example this method convert 1 Persian UTF8 Character "ز" into 6 characters: "D8%B2%"
Which means Database will be x6 Time larger and slwoer than usual.
i think i will go with this method for now until i find a better way...
NOTE: Using function "UnicodeToChar" and "CharToUnicode" to proccess all characters one by one should work also and is less size (x3) but converting a long text Memo will take a long time i think... i may test this one also.
luishp and Vadim have reacted to this post.