Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I downloaded the aspell package for Bengali language dictionary support. From the tarball, I was able to isolate the bn.wl file, which is simply a list of about 100,000 words, one on each line.

The problem is that the encoding is apparently is13194-bn, and any text editor I open the file with is showing garbage (one garbage-word per line). It's probably expecting utf8 or something.

How can I convert this file to readable form? I tried using iconv but it apparently can't recognize the encoding.

share|improve this question

marked as duplicate by fixer1234, BlueBerry - Vignesh4303, DavidPostill, mdpc, Breakthrough Nov 21 '15 at 7:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
did you try using aspell itself to provide the word list: aspell -l bn dump master ? – Paul Apr 13 '12 at 6:24
    
I was getting an error when I tried that on my Ubuntu machine, but I tried it on a Fedora machine and it worked! Thanks a lot! Can you post that as an answer so that I can accept it? – Velvet Ghost Apr 13 '12 at 9:35
up vote 1 down vote accepted

Use aspell itself to provide the word list in a readable format:

aspell -l bn dump master

The -l switch targets a specific dictionary, if it is absent, then the default dictionary is chosen.

share|improve this answer
    
Worked! Thanks! – Velvet Ghost Apr 14 '12 at 3:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.