Windows IME .dic file format

I would like to understand the encoding of Window's dic file.
I would like to be able to read/write/understand the data these file contains. I am assuming that these files are some sort of database and that no matter the language it is a similar format.

If you have installed Japanese on your computer then one such file will exist in your windows directory:



(I have already seen the following pages and they do not help me much:

Deleted, with no points refunded
12/25/2004 12:35AM PST

Community Support Moderator
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

funkyfingerAuthor Commented:

As far as I can tell the correct name for this file is a "binary IME dictionary file".

I believe that these files are not used for window's spell check.
They are not used in spellcheck

I'm not  sure what the format is but if I knew it then I would try to port Jdict over since  that would just be awesome for when I'm typing in kana
funkyfingerAuthor Commented:
This is a round about way of doing it but it will get you (me) the information you (I) want. It will not contain all the data however, you (I.. ok I'm going to stop talking in first person to myself from this point, because obviously I'm not reading it and hopefully you find this information valuable.) .. you will not get the type of word contained by the Japanese character (the database also contains if the word is a noun, verb or place) but every thing else even the radical incoding.
Here's how:
Start Character Map, select advanced view, start Spy++, use Visual Basic 6.0 (because I know how but you hate .Net) and the SendMessage API to get the text cotained within the list boxes.
Use the Group By select box to select radicals, kana, etc...
This will popup another window with the title "Group By"
Write a program that selects each item listed in this window, this control might not be a select list so using an API that simulates a mouse click might be a eaiser (but longer) process. Next use the WM_gettext message to get the sub grouping of data from the character map window. Remember that each character is a wide character and that Unicode is not 2 bytes.
Alos know that each window might have scroll bars so that is a nastly little problem as well.
The rest you will have to do on your own (store data in DB)
Good Luck
Closed, 400 points refunded.

Community Support Moderator
Experts Exchange

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.