<div dir="ltr"><div>I've got a bit of an annoyance with my windows proj build. Hopefully it's not too hard to resolve as the world of char/wchar_t/etc. isn't something I'm terribly familiar with.</div><div><br></div><div>Take for example the area of use of EPSG:23031. On Linux it's fine, but on windows there's a unicode issue.</div><div><br></div><div>PJ* crs = proj_create(m_ctxt, "EPSG:23031");<br>ASSERT_NE(crs, nullptr);<br>ObjectKeeper keeper_crsH(crs);<br><br>double w, s, e, n;<br>const char* a;<br>proj_get_area_of_use(m_ctxt, crs, &w, &s, &e, &n, &a);<br></div><div><br></div><div>Contents of a:</div>"Europe - between 0°E and 6°E - Andorra; Denmark (North Sea); Germany offshore; Netherlands offshore; Norway including Svalbard - onshore and offshore; Spain - onshore (mainland and Balearic Islands); United Kingdom (UKCS) offshore."<br clear="all"><div><br></div><div>Is there a simple thing I'm overlooking in the build process that might clear up the encoding goof? Or do I need to do some bending over backwards with character manipulation?</div><div><br></div><div>This is the command line I'm using to build this example:</div><div>cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_TOOLCHAIN_FILE=C:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake ..<br>cmake --build . --config Debug -j 8<br></div><div><br></div><div>Thanks!</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Peter Townsend<br></div>Senior Software Developer<br></div></div></div>