testcontainers / testcontainers/testcontainers-dotnet
[Enhancement]: Overload ExecScriptAsync with encoding as a parameter
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 357
- Avg merge
- 14h 42m
- Merged PRs (30d)
- 16
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ExecScriptAsync entry point and tracing how script content is decoded during MySQL database initialization and execution. The work is done when callers can provide a particular encoding and UTF-8 characters are preserved during both processes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, mysql
- Domain
- api, database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100