Skip to content

[Bug] Vietnamese choice labels are corrupted after pac code add-data-source #329

Description

@DEVDinhDiem

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.

Image

Metadata

Metadata

Assignees

Labels

Fix rolling outWe start the rollout with the fix for this issue.bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions