-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables with non-UTF8 characters in their name get the wrong name after transmission #32
Comments
Between multiple TI encodings and UTF-8, even :) Eventually, for ticalc-usb+ticalc.link to become a high-quality alternative, you'll have to implement nearly all of the layers provided by libti* anyway ;) |
I've been spending some time on this issue today, without making much progress. After porting over some of I'm assuming I have to return the name back to the byte stream as found in the file, and not touch it*. But that should be exactly what I'm already doing, so that doesn't seem to be the answer. Or there's a bug in my logic somewhere that is transforming the data where it shouldn't. Can someone confirm that the format in which the names of variables are stored in (for example) the *) unless we're opening a TI-83+ file and sending it to a TI-84+, if I understand your remark above correctly. In that case I assume the correct way would be: convert from TI-83+ format to UTF16 as an intermediary and then from UTF16 to Ti-84+ format. |
Adding insult to injury, ( Yet still, sending 91 to my test TI-84+ renders not |
Sending |
Wait... the conversion is just for the "nonusb" part..? So for theta |
Although it's not quite perfect ( debrouxl/tilibs#12 ), for checking the sequences of bytes flowing through the cable, the output of libti*'s packet logging code, in ~/.ticables after closing TILP, is better than capturing raw USB packets with the likes of usbmon, USBPcap or other similar software, and viewing the packets in Wireshark or similar - an approach which does not work for the virtual cables supported by TILP and TilEm/TIEmu, anyway. |
Things like θ, small L and probably Pic / Str get messed up. The same may be true the other way around for the result from
getDirectory
.As described by @debrouxl in Timendus/ticalc.link#8:
To do: write bi-directional mapping functions between TI encoding and UTF-8.
The text was updated successfully, but these errors were encountered: