added windows codepage suppot