Project

General

Profile

Actions

Defect #857

closed

non english strings size

Added by Michael Glyebov almost 17 years ago. Updated about 16 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

Also available in: Atom PDF