1 страниц (5 вхождений)
Text characters not passing correctly to Maxima plugin - Text like "RED,red RED" is sent to Maxima as "RED\002C\red\0020\RED" - Сообщения
#1 Опубликовано: 14.08.2021 18:14:03
Файл не найден.Файл не найден.
#2 Опубликовано: 16.08.2021 15:26:04
Thank you for reporting the issue. Could you please attach your .sm file to your post?
The problems seem to originate from the internal character encoding used by SMath Studio. The interface to Maxima and Maxima itself are unicode proof (as long SBCL is used). So there is no need for such encoding from my side and at development time of the plugin there was no such encoding.
I need to check if that encoding can be switched off or decoded within the plugin.
@developers: any recommendation on how to proceed?
A temporary mitigation could be adding a translation function in maxima.xml in the plugin directory. Some hints on how to setup custom translations or functions from user side are found in the german pdf handbook, online translators seem to produce pretty usable english versions.
The problems seem to originate from the internal character encoding used by SMath Studio. The interface to Maxima and Maxima itself are unicode proof (as long SBCL is used). So there is no need for such encoding from my side and at development time of the plugin there was no such encoding.
I need to check if that encoding can be switched off or decoded within the plugin.
@developers: any recommendation on how to proceed?
A temporary mitigation could be adding a translation function in maxima.xml in the plugin directory. Some hints on how to setup custom translations or functions from user side are found in the german pdf handbook, online translators seem to produce pretty usable english versions.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 16.08.2021 16:03:12
To decode SMath text and variables/functions names to unicode strings, you have to use:
The opposite can be done with
TermsConverter.DecodeText(text);
The opposite can be done with
TermsConverter.EncodeText(text);
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 20.08.2021 11:23:23
1 страниц (5 вхождений)
-
Новые сообщения
-
Нет новых сообщений