Fixing text codec for Windows.