Use unicode values and encode them out.
Encode cert path before send it.
Encode paths before use them.
Handle encoding problems in the vpn connection.