apecloud / myduckserver

MySQL & Postgres Analytics, Reimagined
184 stars 8 forks source link

feat: add basic support for non-UTF8 character set #62

Closed fanyang01 closed 2 months ago

fanyang01 commented 2 months ago

Ref: #36

Since DuckDB's TEXT type can only hold UTF8-encoded strings, this PR recoganizes common non-UTF8 character sets and converts the string value into UTF8 encoding before writing it to DuckDB.

fanyang01 commented 2 months ago

@GaoYusong This PR is ready for review.