Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

handle internationalized strings on windows

Đang mở
#176 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug code owner only
Ngôn ngữ chính
C++
Star
26
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Bug Report

**Expected Behavior**
international character sets are handled in utf-16

**Actual Behavior**
when marshalling strings from c# to the native library, the character set is misinterpreted. likely due ot the use of wide string and converting to string.

## steps to reproduce:

netframework ManifestGenerator uncomment one of the lines that includes spanish language.
set a break in the Manifest.h c++/cli wrapper constructor after `Utilities::MarshalString(json, _json);`

expected: the string is properly translated
actual: the string has extra characters

**Environment**
- OS: [e.g. OSX 10.13.4, Windows 10]
- Version: [e.g. 1.0.1]

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.