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

handle internationalized strings on windows

オープン
#176 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug code owner only
主要言語
C++
スター
26
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

## 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]

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。