Re: how does skin recognize that UTF-8 is available?



On Wed, 19 May 2010 21:45:05 +0200 Janek Kozicki wrote:
> I wanted to check how to use  ▶ / ▼ for (un)folding a directory in
> tree view. If UTF-8 is available then I'd like to use ▶ / ▼. Andrew
> recommended using skin engine for that.

Skin engine is a single correct way for that.

> So I suppose that I would just call for an up-arrow and get either a
> UTF8 on or a ASCII one. But now I'm troubled. I switched to UTF8
> recently and mc is still using ' and , to show the sorting direction.
> Instead of ↓ and ↑.

MC uses a default skin or a skin set in command line (-S option) or
a skin set in the ~/.mc/ini file (skin key). You can try use another
skin to view non-default sotring symbols.
 
> Maybe 'mc' should detect if UTF8 is available and either use
> default-ASCII.ini skin or default-UTF8.ini skin. But there is
> currently just one: the ASCII one default.ini.

I don't think so.

-- 
Andrew


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]