I'm having a strange issue which I've never seen before and can't seem to find any info about on google.
When I do a file remove, the confirmation show the file with strange characters in front and at the end of the filename.
For example if I try to remove the file 'test.txt':
rm test.txt
I get:
rm: remove regular file âtest.txtâ?
if I enter 'y/n' it works normally though, so it's not really an issue, but I was wondering if this is something that's a bug or if I made a mistake somewhere.
edit: Did a bit more testing, when doing the above locally on the machine, I get the same response but the 'â' is a black questionmark in a white rounded background.
Before I did it through ssh, but I'm just guessing it's just the char it shows when it doesn't know which character it should be.
It looks to me like an encoding issue and it should be quotes or double-quotes or something it should show there.
edit 2: locale -a shows:
- Code: Select all
C
CP1251
en_AG
en_AG.utf8
en_AU
en_AU.iso88591
en_AU.utf8
en_AU.UTF-8
en_BE
en_BE@euro
en_BE.iso88591
en_BE.utf8
en_BE.UTF-8
en_BW
en_BW.iso88591
en_BW.utf8
en_BW.UTF-8
en_CA
en_CA.iso88591
en_CA.utf8
en_CA.UTF-8
en_DK
en_DK.iso88591
en_DK.utf8
en_DK.UTF-8
en_GB
en_GB.iso88591
en_GB.utf8
en_GB.UTF-8
en_HK
en_HK.iso88591
en_HK.utf8
en_HK.UTF-8
en_IE
en_IE@euro
en_IE.iso88591
en_IE.utf8
en_IE.UTF-8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ
en_NZ.iso88591
en_NZ.utf8
en_NZ.UTF-8
en_PH
en_PH.iso88591
en_PH.utf8
en_PH.UTF-8
en_SG
en_SG.iso88591
en_SG.utf8
en_SG.UTF-8
en_US
en_US.iso88591
en_US.utf8
en_US.UTF-8
en_ZA
en_ZA.iso88591
en_ZA.utf8
en_ZA.UTF-8
en_ZM
en_ZM.utf8
en_ZW
en_ZW.iso88591
en_ZW.utf8
en_ZW.UTF-8
ISO-8859-1
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-7
ISO-8859-9
KOI8-R
KOI8-U
nl_AW
nl_AW.utf8
nl_BE
nl_BE@euro
nl_BE.iso88591
nl_BE.utf8
nl_BE.UTF-8
nl_NL
nl_NL@euro
nl_NL.iso88591
nl_NL.utf8
nl_NL.UTF-8
POSIX
UTF-8