Skip to content

【Sequelize】使用ORM建表,默认字符集不能显示中文 #127

Description

@vanoneang

描述 bug

  • 你是如何操作的?
    使用ORM建表
  • 发生了什么?
    入库的中文不能正常显示
  • 你觉得应该出现什么?
    中文可正常显示

使用 SQL 可展示每个字段的字符集,默认的 latin1_swedish_ci 不能正常显示中文。

show full COLUMNS from lin_user;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions