Added multiple code page support.

Added multiple code page support. It covers some cases with fcharset definition. Please, review the code. The test document: test-doc4.rtf. 
Thank you.