Project

General

Profile

Actions

Defect #18866

closed

MySQL: disappear after 4-Byte UTF-8

Defect #18866: MySQL: disappear after 4-Byte UTF-8

Added by Алексей Городецкий almost 12 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Resolution:
Duplicate
Affected version:

Description

When writing tasks text after some characters disappear. For example, after the symbol «


Files

issue.png (29.5 KB) issue.png Toshi MARUYAMA, 2015-01-16 14:29

Related issues 5 (0 open — 5 closed)

Related to Redmine - Patch #19742: RedmineInstall: MySQL: collation_databaseClosedActions
Related to Redmine - Feature #31921: Changes to properly support 4 byte characters (emoji) when database is MySQLClosedGo MAEDAActions
Has duplicate Redmine - Defect #10779: redmine cannot deal with 4-byte utf-8 charactersClosedActions
Has duplicate Redmine - Defect #10772: 4-byte utf-8 charactersClosedActions
Has duplicate Redmine - Defect #21679: Emoji [CL] will break the subject of new ticketsClosedActions

Updated by Алексей Городецкий almost 12 years ago Actions #1

@When writing tasks text after some characters disappear. For example, after the symbol «

Updated by Toshi MARUYAMA almost 12 years ago Actions #2

after the symbol « after the symbol « after the symbol «

Updated by Toshi MARUYAMA almost 12 years ago Actions #3

I cannot reproduce.

Environment:
  Redmine version                2.5.3.stable
  Ruby version                   1.9.3-p551 (2014-11-13) [x86_64-linux]
  Rails version                  3.2.19
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.11
  Mercurial                      2.8.2
  Bazaar                         2.1.1
  Git                            1.7.1
  Filesystem                     
Redmine plugins:
  no plugin installed

Updated by Имя Фамилия almost 12 years ago Actions #4

For example, after the symbol "􀀀". This symbol was been encoded for this message as

􀀀
. Copy this message to reproduce.

Updated by Имя Фамилия almost 12 years ago Actions #5

Copy:
For example, after the symbol "

Updated by Toshi MARUYAMA almost 12 years ago Actions #6

  • Category changed from Issues to Database
  • Status changed from Needs feedback to New

The utf8mb4 Character Set (4-Byte UTF-8 Unicode Encoding)
http://dev.mysql.com/doc/refman/5.6/en/charset-unicode-utf8mb4.html

Updated by Toshi MARUYAMA almost 12 years ago Actions #7

http://www.fileformat.info/info/unicode/char/100000/index.htm

UTF-8 (hex) 0xF4 0x80 0x80 0x80 (f4808080)

Updated by Toshi MARUYAMA almost 12 years ago Actions #8

  • Subject changed from When writing tasks text disappears after some characters to MySQL: disappear after 4-Byte UTF-8

Updated by Toshi MARUYAMA over 11 years ago Actions #9

  • Related to Patch #19742: RedmineInstall: MySQL: collation_database added

Updated by Toshi MARUYAMA over 11 years ago Actions #10

  • Status changed from New to Closed
  • Resolution set to Duplicate

Updated by Toshi MARUYAMA over 11 years ago Actions #11

Updated by Toshi MARUYAMA over 11 years ago Actions #12

  • Related to deleted (Patch #19742: RedmineInstall: MySQL: collation_database)

Updated by Toshi MARUYAMA over 11 years ago Actions #13

  • Status changed from Closed to New
  • Resolution deleted (Duplicate)

Updated by Toshi MARUYAMA over 11 years ago Actions #14

  • Related to Patch #19742: RedmineInstall: MySQL: collation_database added

Updated by Toshi MARUYAMA over 11 years ago Actions #15

Try utf8mb4 (#10772#note-7).

Updated by Toshi MARUYAMA over 11 years ago Actions #16

  • Has duplicate Defect #10779: redmine cannot deal with 4-byte utf-8 characters added

Updated by Toshi MARUYAMA over 11 years ago Actions #17

  • Status changed from New to Closed

Updated by Toshi MARUYAMA over 11 years ago Actions #18

  • Status changed from Closed to New

Updated by Toshi MARUYAMA over 11 years ago Actions #19

  • Has duplicate deleted (Defect #10779: redmine cannot deal with 4-byte utf-8 characters)

Updated by Toshi MARUYAMA over 11 years ago Actions #20

  • Is duplicate of deleted (Defect #10772: 4-byte utf-8 characters)

Updated by Toshi MARUYAMA over 11 years ago Actions #21

  • Has duplicate Defect #10779: redmine cannot deal with 4-byte utf-8 characters added

Updated by Toshi MARUYAMA over 11 years ago Actions #22

Updated by Toshi MARUYAMA almost 11 years ago Actions #23

  • Has duplicate Defect #21679: Emoji [CL] will break the subject of new tickets added

Updated by Marius BĂLTEANU over 7 years ago Actions #24

  • Related to Feature #31921: Changes to properly support 4 byte characters (emoji) when database is MySQL added

Updated by Marius BĂLTEANU about 3 years ago Actions #25

  • Status changed from New to Closed
  • Resolution set to Duplicate

Issues #31921, #32140 and HowTo_convert_a_database_from_utf8_to_utf8mb4 page contain enough information to identify the issues caused by utf8 and to migrate the database to utf8mb4.

Closing this as duplicate.

Actions

Also available in: PDF Atom