-
Notifications
You must be signed in to change notification settings - Fork 0
Special characters in password field can't be displayed #2
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I found this issue from day one:
First some password strings, like this one @#$^[[1;2S!EASDF and this one @#$^%^&^&&&^[[19;2~*%@, will not be able to show in bash command line(whether with echo or printf) because there were some control chacracters, ^[ in this case. I found there is a similar issue in vim edited file, which causes cat can't display the content with similar characters. Using a circumvention way like cat -v, however, can display those characters.
However, whatever I tried in bash, there's no simple way to get it across. Does anyone know?
It could be a language encoding issue as well, but where should we configure it to make it universal to different terminals at end users' sides?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working