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

[Enhancement]: Overload ExecScriptAsync with encoding as a parameter #1201

Open
macoutlook opened this issue Jun 18, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@macoutlook
Copy link

macoutlook commented Jun 18, 2024

Problem

Script content contains UTF-8 characters which are not saved properly to MySql db during db initialisation and script execution.

Solution

Giving possibility to define particular encoding as parameter.

Benefit

Extending possibility to handle non-standard characters among different cultures.

Alternatives

Changing Encoding.Default which is not recommended by MS to UTF8

Would you like to help contributing this enhancement?

Yes

@macoutlook macoutlook added the enhancement New feature or request label Jun 18, 2024
@HofmeisterAn
Copy link
Collaborator

Yes, this is something we should support. We just need to ensure that we pass the encoding argument down all the way to ensure it is used everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants