1 Pages (8 items)
Unicode issue in string argument for image2rgb() - Messages
#2 Posted: 4/22/2021 8:36:07 AM
Thank you, I'll fix it ASAP.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 4/25/2021 7:48:26 PM
Fixed and released for the latest beta
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Alvaro Diaz Falconi 4/25/2021 8:09:00 PM
#4 Posted: 4/25/2021 8:21:10 PM
WroteFixed and released for the latest beta
Hi Davide. The issue persists for release "0.99.7786.571":
test.sm (2 KiB) downloaded 26 time(s).
Best regards.
Alvaro.
#5 Posted: 4/26/2021 4:38:06 AM
#6 Posted: 4/26/2021 8:53:32 AM
WroteIt works for me even if dots, slashes and underscores are encoded
Hi Davide. Yes. you're right, it works with encoded strings now, I see the strings, and no check if can read files with that.
So, standard ASCII characters lower than 128 will be encoded as Unicode? That can introduce a lot of issues for low level manipulation to the user.
test_unicode_2.sm (5 KiB) downloaded 23 time(s).
Also, the string "a_b" doesn't appear in the search box, but if you search for x, x and "x" appear.
Also, suppose that I want to find an sm file where it's defined the function "my_function_1": I need to search now the string "my\005F\function\005F\1" inside the files?
Best regards.
Alvaro.
1 users liked this post
sergio 4/26/2021 2:05:00 PM
#7 Posted: 4/26/2021 10:31:56 AM
WroteSo, standard ASCII characters lower than 128 will be encoded as Unicode? That can introduce a lot of issues for low level manipulation to the user.
As Andrey has stated there's an enforcement on the encoding, I don't know how much can be relaxed (as positive thing now you should be able to use 4-digits folders in paths); however as you pointed out in some fields the program misses the proper implementation to deal with them (more visible because the enforced rule, but would have been buggy even with less strict approach, and it was buggy since the encoding was already in place). Ideally it should works flawlessy whatever under the hood all character are encoded or not.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
#8 Posted: 4/26/2021 11:38:33 AM
Alvaro,
Thank you! Fixed.
WroteAlso, the string "a_b" doesn't appear in the search box, but if you search for x, x and "x" appear.
Also, suppose that I want to find an sm file where it's defined the function "my_function_1": I need to search now the string "my\005F\function\005F\1" inside the files?
Thank you! Fixed.
1 users liked this post
Alvaro Diaz Falconi 4/26/2021 11:45:00 PM
1 Pages (8 items)
-
New Posts
-
No New Posts