Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Scripting in ANSI or UTF

$
0
0
A quick question. Since I'm now learning to script in bash, what is the default character set used by openSUSE? ANSI, UTF, Latin1 (which from what I read is vim's default). My scripting is strictly for Linux and I use KWrite when on the Linux machine. Sometimes, though, I will work on it using notepad ++ on the windows machine, which at a minimum changes the EOL. Simple fix at either end, but I'd like to setup notepad ++ correctly.

Using $LANG I get:

Code:

>echo $LANG
>en_us.UTF-8

Would I be correct in presuming this is the character set I should be using?

Viewing all articles
Browse latest Browse all 40713

Trending Articles