Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"19/05/2022 [BUG - EXCEPTION: UnicodeEncodeError CSV format]" #64

Open
neltyfwdview opened this issue May 19, 2022 · 0 comments
Open

"19/05/2022 [BUG - EXCEPTION: UnicodeEncodeError CSV format]" #64

neltyfwdview opened this issue May 19, 2022 · 0 comments

Comments

@neltyfwdview
Copy link

** Expected Behavior**
The output should be formatted for use in a CSV file

** Actual Behavior**

When you try extract an Environment that has Table names with Danish chars and ask dxmc.exe to format the output as a CSV you receive this error -> EXCEPTION: UnicodeEncodeError: 'charmap' codec can't encode character '\ufeff'

1. This command works - Note -> without "--format csv"

PS D:\dxtoolkit\dxmc> .\dxmc.exe column list --engine mymaskingengine1 --envname "My Target"

2. This command throws an error when I specifically use the "--format csv" parameter for dxmc.exe

PS D:\dxtoolkit\dxmc> .\dxmc.exe column list --engine mymaskingengine1 --envname "My Target" --format csv
EXCEPTION: UnicodeEncodeError: 'charmap' codec can't encode character '\ufeff' in position 2241: character maps to

I think there is potentially an issue in the internal coding for dxmc when the "--format csv" parameter is used and some Tables names have Danish chars.

Version
Using version 0.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant