I gave it another try, following prescribed usage parameters though I first checked my possibilityĪs a languages I can pass by to enca’s -L parameter. Run `enca -list languages' to get a list of supported languages. (only a few multibyte encodings can be recognized then). Please use `-L language', or `-L none' if your language is not supported Now I tried launching enca directly without any program parameters, but I was enca file-Whole.htmĮnca: Cannot determine (or understand) your language preferences. Pcfreak# cd /usr/ports/converters/enca pcfreak# make install clean On FreeBSD enca port is available, so installing it cames simply to installing it from port tree. It’s obviously my lucky day because good guys from Debian has packaged enca so, everything came to the point of Out about enca - detect and convert encoding of text files To achieve my goal after consulting with Mr. Here is why I needed concretely to determine what kind of character set my file uses to later Here you see that character encoding is reported as charset=unknown-8bit whichĪin’t cool at all and is of no use and prompts an error if I try it in iconv ![]() Next what I tried file -mime 1: text/html charset=unknown-8bit I wanted to convert an html document character encoding to UTF-8, to achieve that ofĬourse it was first needed to determine what kind of character encoding was used inĪs you can see that’s shit cause for some reason mime encoding is not printed by the file
0 Comments
Leave a Reply. |