Project

General

Profile

Actions

Defect #857

closed

non english strings size

Added by Michael Glyebov about 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
2008-03-14
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When non-english language is being used (for example Russian) there is the following bug:
For example when trying to add/edit issue category and put more than 15 russian chars value is truncated to 30 bytes. Because every char in UTF-8 is encoded by 2 bytes string visually truncated to 15 symbols. Probably database field has size 30.
But if you have odd number of 1-byte symbols there is side-effect. 1 byte is being cutted off from last 2-bytes symbol that might damage html pages. Example of "bad" string is
абвгдеёжзи клмнопрстуф
(it is russian alphabet)

Actions #2

Updated by Azamat Hackimov over 15 years ago

Actually, I have Redmine 0.7-svn and UTF-8 aware MySQL and I can't reproduce your error. I think this bug appear when using latin1 MySQL database, or other 8-bit encoding limitations.

Actions #3

Updated by Azamat Hackimov over 15 years ago

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

No response.

Actions

Also available in: Atom PDF