FindOut / hansoft-svn

Hansoft-Subversion integration
2 stars 0 forks source link

The integration fails on Windows #37

Closed fredrikattebrant closed 10 years ago

fredrikattebrant commented 10 years ago

Root cause: The strings sent between the client plug-in and the integration server have different character encoding depending on the platform and language, causing decoding failures. Java encodes with UTF-16 while the C++ code on Windows uses std::wstring which is not encoded properly when sent to the Integration server.

fredrikattebrant commented 10 years ago

Fixed by converting converting incoming/outgoing strings to/from wstring when on Windows. See: commit bd06942f8852c54d3f9a70691a2ea421d54ff112 commit cc261114ee8563fe685bd92c7556bbbfbd1afe4b