Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Razonar  
#1 Posted : 22 April 2021 06:44:39(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 719
Uruguay

Was thanked: 370 time(s) in 245 post(s)
Hi. The error is self explained.

Clipboard02.jpg

This is the saved file:

Clipboard03.jpg

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 22/04/2021(UTC)
Offline Davide Carpi  
#2 Posted : 22 April 2021 14:36:07(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,372
Man
Italy
Location: Italy

Was thanked: 1187 time(s) in 782 post(s)
Thank you, I'll fix it ASAP.
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Davide Carpi  
#3 Posted : 26 April 2021 01:48:26(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,372
Man
Italy
Location: Italy

Was thanked: 1187 time(s) in 782 post(s)
Fixed and released for the latest beta
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 26/04/2021(UTC)
Offline Razonar  
#4 Posted : 26 April 2021 02:21:10(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 719
Uruguay

Was thanked: 370 time(s) in 245 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Fixed and released for the latest beta


Hi Davide. The issue persists for release "0.99.7786.571":

test.sm (3kb) downloaded 6 time(s).

Clipboard01.jpg

Best regards.
Alvaro.
Offline Davide Carpi  
#5 Posted : 26 April 2021 10:38:06(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,372
Man
Italy
Location: Italy

Was thanked: 1187 time(s) in 782 post(s)
It works for me even if dots, slashes and underscores are encoded

2021-04-26 09_35_51-SMath Studio - [test.sm_].png
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Razonar  
#6 Posted : 26 April 2021 14:53:32(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 719
Uruguay

Was thanked: 370 time(s) in 245 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
It 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.

Clipboard01.jpg

test_unicode_2.sm (6kb) downloaded 4 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.

Edited by user 26 April 2021 14:56:01(UTC)  | Reason: Not specified

thanks 1 user thanked Razonar for this useful post.
on 26/04/2021(UTC)
Offline Davide Carpi  
#7 Posted : 26 April 2021 16:31:56(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,372
Man
Italy
Location: Italy

Was thanked: 1187 time(s) in 782 post(s)
Originally Posted by: Razonar Go to Quoted Post
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.


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 a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 26/04/2021(UTC),  on 26/04/2021(UTC)
Offline Andrey Ivashov  
#8 Posted : 26 April 2021 17:38:33(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,535
Man
Russian Federation

Was thanked: 1820 time(s) in 617 post(s)
Alvaro,

Originally Posted by: Razonar Go to Quoted Post
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?

Thank you! Fixed.

Edited by user 26 April 2021 18:09:39(UTC)  | Reason: Not specified

thanks 1 user thanked Andrey Ivashov for this useful post.
on 27/04/2021(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.