David_G__33241
Nov 24, 2015Nimbostratus
French characters in a BASH script
I have a script that needs to store French text in some variables such as “… d’accès à distance… ”. At the BASH prompt I can type tmp="d’accès à distance" and it works. I can echo $tmp and see the correct value. If I copy that exact line and past it into a BASH script it changes to tmp="d<92>accèà istance".
I found some information that talked about changing the character set to ISO8859-1 and/or changing my terminal type but my Linux knowledge is limited. Any help would be appreciated.
Thanks