mkporwit

    mkporwit

    4 years ago
    Is there a way to specify the encoding for certain columns? Specifically, I’m looking to tell MySQL that some columns are utf8mb4. In case it matters, we’re using the DAO approach.
    tapac

    tapac

    4 years ago
    varchar
    and
    text
    columns both support collation as param. Try to set it toutf8mb4_general_ci
    mkporwit

    mkporwit

    4 years ago
    Thanks, that did the trick