github / github/gh-ost

Request for assistance: mapping charsets

Open
#228 0 comments 0 reactions 0 assignees View on GitHub
help wanted suggested for community contribution
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

Matter at hand: `gh-ost`'s support for multiple charsets.

`gh-ost` works well out-of-the-box with `utf8` and `utf8mb4`.

However for other character sets it needs to be told, explicitly, how to convert strings. For example, the `latin1` character set is supported, and is converted via golang's `charmap.Windows1252`, see: https://github.com/github/gh-ost/blob/master/go/sql/encoding.go#L20

If anyone is willing to assist in mapping other MySQL charsets to golang Encoders, we're very grateful. Please PR the https://github.com/github/gh-ost/blob/master/go/sql/encoding.go file with additional charsets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.