+ apply ogr_6th_revision.patch to allow unicode support

This commit is contained in:
Dane Springmeyer 2009-02-05 17:32:03 +00:00
parent 0fbfbd445a
commit 6503dcfc40

View file

@ -46,7 +46,7 @@ ogr_datasource::ogr_datasource(parameters const& params)
: datasource(params),
extent_(),
type_(datasource::Vector),
desc_(*params.get<std::string>("type"),"utf-8")
desc_(*params.get<std::string>("type"), *params.get<std::string>("encoding","utf-8"))
{
OGRRegisterAll();