Hi dear,

It may be interesting for you to know how I use dbview in Midnight 
Commander. Since historically Russian and Ukrainian symbols have several 
charsets still used widely, I use 'enca' encoding guesser (from Debian 
distribution) like this in Midnight Commander's extension file:

# dbf
regex/\.([dD][bB][fF])$
        Open=%view{ascii} dbview %f |enca -L ru -cx utf-8 2>/dev/null
        View=%view{ascii} dbview -b %f |enca -L ru -cx utf-8 2>/dev/null

So now it correctly shows both DOS FoxPro and Windows Visual FoxPro dbf 
files without any user decision. You may mention this technique in docs 
if you want.

Thank you,

Ruslan Fedyarov
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to