When running pac code add-data-source -a dataverse -t
, Dataverse Choice labels in Vietnamese are corrupted in generated code instead of being preserved correctly.
For example, labels with Vietnamese diacritics are transformed into malformed strings with underscores, such as Giaothietbi_n__ and Thanhto_ntrn__ckhinh_nh_ng.
Expected: Vietnamese/Unicode labels should be preserved correctly, or the generator should produce a safe identifier while keeping the original localized label separately.
Actual: Generated labels lose Vietnamese diacritics and become unreadable.
This seems to happen during code generation after adding a Dataverse data source, not during connection setup itself.
Attachments
I can provide a screenshot of the generated output showing the corrupted Vietnamese labels.

When running pac code add-data-source -a dataverse -t
, Dataverse Choice labels in Vietnamese are corrupted in generated code instead of being preserved correctly.For example, labels with Vietnamese diacritics are transformed into malformed strings with underscores, such as Giaothietbi_n__ and Thanhto_ntrn__ckhinh_nh_ng.
Expected: Vietnamese/Unicode labels should be preserved correctly, or the generator should produce a safe identifier while keeping the original localized label separately.
Actual: Generated labels lose Vietnamese diacritics and become unreadable.
This seems to happen during code generation after adding a Dataverse data source, not during connection setup itself.
Attachments
I can provide a screenshot of the generated output showing the corrupted Vietnamese labels.