[libKML]: As reported in https://github.com/TauLabs/TauLabs/issues/816,
the file export will fail for extended character sets. This forces the
character set to be local, and returns an error if this is not possible.
Merge pull request #944 from kubark42/fix-kml-unicode

Fix libkml export on non-ASCII character set.