Add a method to get the charset from the codepage.

This will eventually be used everywhere needed, but currently
on trunk this is only for the display project.


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/trunk@3057 25d90789-57f7-4ee0-8453-03a3dfeeeb22