-
Notifications
You must be signed in to change notification settings - Fork 3
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
nano untagged files #11
Comments
Nano relies on the heuristic in zoslib to decide if untagged files contain ascii or ebcdic. This requires a minimum of 8 positions of data to be able to see if it is ebcdic. The only solution at the moment is to have 8 characters or more of ebcdic data in the file or tag the file as ibm-1047 before editing. |
Thanks for the update. |
Nano should respect that environment variable since it's also built with zoslib. We could probably improve the heuristic though. The cnt > 8 check (https://github.com/ibmruntimes/zoslib/blob/main/src/zos-char-util.cc#L541) is an arbitrary check. |
Do you plan to first have nano work like vim and then improve the heuristic? |
Will untagged files be supported?
thanks
The text was updated successfully, but these errors were encountered: