Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038962Retail ModulesWeb POS Hardware Managerpublic2018-07-16 08:552018-10-18 20:37
jorgewederago 
javierRodriguez 
normalmajoralways
closedfixed 
5
 
RR19Q1 
marvintm
No
0038962: Some chinese characters are missing when printing in chinese
Some Chinese characters are not being printed correctly. Instead of being printed they are being converted into "?" (default character if not found).
1.- Start a hardware manager with printing in screen mode
2.- Change the name of a product to: 防曬跑步運動T恤
3.- Go to WebPOS and buy the previous product
4.- When the ticket is printed some Chinese characters will be interrogation marks.

Attached an example of the same product printed with TH200i
No tags attached.
related to design defect 0041141 new joniturralde93 Some chinese characters are missing when printing in chinese 
jpg th200iExample.jpg (36,046) 2018-07-16 08:55
https://issues.openbravo.com/file_download.php?file_id=11961&type=bug
jpg
Issue History
2018-07-16 08:55jorgewederagoNew Issue
2018-07-16 08:55jorgewederagoAssigned To => Retail
2018-07-16 08:55jorgewederagoFile Added: th200iExample.jpg
2018-07-16 08:55jorgewederagoResolution time => 1533506400
2018-07-16 08:55jorgewederagoTriggers an Emergency Pack => No
2018-07-16 11:02jorgewederagoDescription Updatedbug_revision_view_page.php?rev_id=17418#r17418
2018-08-09 10:20javierRodriguezAssigned ToRetail => javierRodriguez
2018-08-09 10:21javierRodriguezStatusnew => scheduled
2018-08-13 08:36adrianromeroNote Added: 0106306
2018-08-13 16:29marvintmNote Added: 0106327
2018-08-13 16:29marvintmAssigned TojavierRodriguez => malsasua
2018-08-13 16:29marvintmStatusscheduled => feedback
2018-10-16 12:44hgbotCheckin
2018-10-16 12:44hgbotNote Added: 0107329
2018-10-16 12:44hgbotCheckin
2018-10-16 12:44hgbotNote Added: 0107330
2018-10-16 12:44hgbotStatusfeedback => resolved
2018-10-16 12:44hgbotResolutionopen => fixed
2018-10-16 12:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/624f6c4fa1d2fc91d85436d33d08f83c9f25b207 [^]
2018-10-18 20:37marvintmAssigned Tomalsasua => javierRodriguez
2018-10-18 20:37marvintmReview Assigned To => marvintm
2018-10-18 20:37marvintmStatusresolved => closed
2018-10-18 20:37marvintmFixed in Version => RR19Q1
2019-06-20 17:28malsasuaRelationship addedrelated to 0041141

Notes
(0106306)
adrianromero   
2018-08-13 08:36   
The reason why these specific Chinese chararacters are not printed is because do not belong to the GB2312 character set table that is the table used to print Chinese characters.

This is the line that defines what is the character table to use when printing characters from the CJK UNIFIED IDEOGRAPH Unicode set -> https://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/file/tip/project/src/META-INF/unicodeblocks.xml#l3 [^]

And if you go to the GB2312 character set table here -> http://tools.jb51.net/table/gb2312 [^] you can see that all the characters printed properly can be found in this table but characters printed as "?" cannot.
(0106327)
marvintm   
2018-08-13 16:29   
Changing it to feedback until the topic with the printer manufacturer is clarified
(0107329)
hgbot   
2018-10-16 12:44   
Repository: erp/pmods/org.openbravo.retail.poshwmanager.sources
Changeset: 813b60cc7d47e6bfb9e1599b7df0b4fff9c51ae2
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Oct 16 12:44:32 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/813b60cc7d47e6bfb9e1599b7df0b4fff9c51ae2 [^]

Related to issue 38962: Some chinese characters are missing when printing in chinese

---
M project/src/META-INF/unicodeblocks.xml
---
(0107330)
hgbot   
2018-10-16 12:44   
Repository: erp/pmods/org.openbravo.retail.poshwmanager
Changeset: 624f6c4fa1d2fc91d85436d33d08f83c9f25b207
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Mon Oct 15 11:28:28 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/624f6c4fa1d2fc91d85436d33d08f83c9f25b207 [^]

Fixed issue 38962: Some chinese characters are missing when printing in chinese

---
M bin/poshw.jar
M bin/rev.id
---