[ZBX-7686] utf-8 strings are only fetched partially from oracle Created: 2014 Jan 22 Updated: 2017 May 30 Resolved: 2014 Jan 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.0.10 |
Fix Version/s: | 1.8.20rc1, 2.0.11rc1, 2.2.2rc1, 2.3.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | oracle, utf8 | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Suppose we have a field in a table of type nvarchar2(7). We can insert a UTF-8 value of "?????" there, consisting of 7 characters. However, when we fetch this value from the database, we specify the limit not in characters, but in bytes. So it gives us "?" instead. |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Jan 22 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7686 . |
Comment by Aleksandrs Saveljevs [ 2014 Jan 23 ] |
Fixed in pre-1.8.20 r41819, pre-2.0.11 r41812, pre-2.2.2 r41813, and pre-2.3.0 (trunk) r41814. |