don't mangle UTF-8 chars for __BEOS__, from the GG patch

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2005-02-17 10:39:40 +00:00
parent 5bea2b386b
commit 1c5ea92404
+6 -1
View File
@@ -624,6 +624,11 @@ static struct ignore_pattern *ignore_patterns;
want to mess up the terminal if control chars get sent to it, and some want to mess up the terminal if control chars get sent to it, and some
quoting methods pass through control chars as-is. */ quoting methods pass through control chars as-is. */
static int qmark_funny_chars; static int qmark_funny_chars;
#ifdef __BEOS__ /* Default to show UTF8 chars in BeOS terminal. */
#define QMARK_FUNNY_CHARS_TTY 0
#else
#define QMARK_FUNNY_CHARS_TTY 1
#endif
/* Quoting options for file and dir name output. */ /* Quoting options for file and dir name output. */
@@ -1243,7 +1248,7 @@ decode_switches (int argc, char **argv)
/* Record whether there is an option specifying sort type. */ /* Record whether there is an option specifying sort type. */
int sort_type_specified = 0; int sort_type_specified = 0;
qmark_funny_chars = 0; qmark_funny_chars = QMARK_FUNNY_CHARS_TTY;
/* initialize all switches to default settings */ /* initialize all switches to default settings */