-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
Problem using some letters in folder names when browsing sd card. #3593
Comments
Thank you for reporting this issue. Before proceeding, please download the latest If you still find a problem with |
Tested problem still exist on RCBugFix. Tried with following folder names
1,2,3 and 5 are impossible to enter. m20 gives
|
@lintz As far as I know, all DOS 8.3 filenames are supposed to be plain old ASCII. So there shouldn't be any "invalid characters" in any of the file or folder names. Can you also try |
Hmmm… We should have working FAT-32 at this point. See #2080 for example… |
@lintz Please try this branch which will generate a lot of logging of filename activity. It will be a huge log, but if you can find the interesting / important part and paste it here that will help a lot! First, just try clearing the log right before "Start SD Print" and I think that will be enough to get some good output. Probably trying to enter a folder on the LCD controller will also give some useful output. https://github.com/thinkyhead/Marlin/tree/rc_debug_lsdive_issue_3593 |
Today i tried how folder names with German umlauts behave. I made some folders with Win7 and a card-reader. On the console window (RH) all the umlauts are displayed as '?'. Error messages before the related folder-names
Klick on folder returns to top of folder.
Klick on file returns to status screen:
The file listing in Pronterface looks more like:
where all 'š' in reality are 'ü'. In Octoprint the files in folders, and the files in the base directory, with umlauts do not appear in the sd-card filelist. @lintz @thinkyhead |
SdBaseFile.cpp make83Name()
As far as i know chars above 0x7f are allowed again.
I'll experiment with this tomorrow. |
I look forward to the results. Perhaps the logging branch I linked above can help, as it prints out all the individual bytes. |
Sorry - will last a bit longer. Used all the time this morning for the German translation. Later i searched for proper long file name to 8.3 conversions. What's done in http://elm-chan.org/fsw/ff/00index_e.html looks very complete, but maybe a bit to heavy for us. For now i'm just looking for a 8.3 check, not mangling or refusing, Windows created 8.3-filenames.
seems to be enough for now, but needs some more testing. EDITED two times |
Don't mangel 8.3-filenames with chars > 0x7f Windows produces 8.3filenames wit chars > 0x7f. Those have been rejected by Marlin until now. With these 'malformed' filenames can now be worked with: In the LCD menue With RepetierHost (V1.6.1 tested) - full support. Characters are displayed as '?' With Octoprint (1.2.10 tested) the files do not appear in the files area. At the console, listed with M20 they appear with a '�'. With Pronterface the files appear in the sd-window but you can't start them. They are mangled by pronterface. The names are altered and than recected by Marlin. In the console they apper with differen but not the correct characters. All in all a little step forward. Fix for MarlinFirmware#3593
All characters (except DEL) are now okay with #3661. Thanks! |
Don't mangel 8.3-filenames with chars > 0x7f Windows produces 8.3filenames wit chars > 0x7f. Those have been rejected by Marlin until now. With these 'malformed' filenames can now be worked with: In the LCD menue With RepetierHost (V1.6.1 tested) - full support. Characters are displayed as '?' With Octoprint (1.2.10 tested) the files do not appear in the files area. At the console, listed with M20 they appear with a '�'. With Pronterface the files appear in the sd-window but you can't start them. They are mangled by pronterface. The names are altered and than recected by Marlin. In the console they apper with differen but not the correct characters. All in all a little step forward. Fix for MarlinFirmware#3593
Don't mangel 8.3-filenames with chars > 0x7f Windows produces 8.3filenames wit chars > 0x7f. Those have been rejected by Marlin until now. With these 'malformed' filenames can now be worked with: In the LCD menue With RepetierHost (V1.6.1 tested) - full support. Characters are displayed as '?' With Octoprint (1.2.10 tested) the files do not appear in the files area. At the console, listed with M20 they appear with a '�'. With Pronterface the files appear in the sd-window but you can't start them. They are mangled by pronterface. The names are altered and than recected by Marlin. In the console they apper with differen but not the correct characters. All in all a little step forward. Fix for MarlinFirmware#3593
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using Scandinavian letters such as Ä ä makes it impossible to enter a folder. Still showed correctly on display.
Tested on Marlin 1.1.0-RC5 - 01 April 2016
The text was updated successfully, but these errors were encountered: