Bug 729541

Summary: after saving translation (with save button), encoding lost and text become ??? instead of real data
Product: [Retired] Zanata Reporter: A S Alam <aalam>
Component: DatabaseChangeAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.3CC: eng-i18n-bugs, mshao, sflaniga, zanata-bugs
Target Milestone: Sprint-26   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-28 07:25:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screen shot for broken encoding
none
encoding still broken; TM suggests ???? none

Description A S Alam 2011-08-10 06:12:03 UTC
Created attachment 517520 [details]
Screen shot for broken encoding

Description of problem:
after saving translation (with save button), encoding lost and text become ??? instead of real data


Version-Release number of selected component (if applicable):
20110509-2113

How reproducible:
everytime

Steps to Reproduce:
1. https://fedora.zanata.org/zanata/project/view/zanata-quickstart-guide
2. select Punjabi (pa-IN)
3. do translation (any put any data for pa_IN)
4. Save it
5. Move to next line

Actual results:
text at bottom shown as ???

Expected results:
UTF-8 encoding should not broken


Additional info:
tried with another project iok, same issue happened.
screen-shot attached

Comment 1 A S Alam 2011-08-10 06:18:01 UTC
no need to translate, just open any file (like Hindi (hi). whole text is ?????

Comment 2 A S Alam 2011-08-10 06:27:00 UTC
Punjabi Text (ਭਾਰਤੀ ਆਨਸਕਰੀਨ ਕੀਬੋਰਡ) for reference.

Comment 3 Ding-Yi Chen 2011-08-10 06:35:16 UTC
Bug reproduced and confirmed with non-English text, such as
"快速指南"

Comment 4 Ding-Yi Chen 2011-08-10 07:16:21 UTC
Further testing indicate this bug is only on fedora.zanata.org.

On fedora.zanata.org, not only tranlation editor, but also project editing dialog are affected.

Comment 5 Sean Flanigan 2011-08-11 02:04:44 UTC
Database tables were created with the wrong encoding settings.  Sorry, but any existing Unicode text will need to be re-entered.

Comment 6 Ding-Yi Chen 2011-08-11 04:47:05 UTC
Fix Verified

Comment 7 sandeep shedmake 2011-11-25 04:02:31 UTC
Created attachment 536141 [details]
encoding still broken; TM suggests ????

From Comment 4, Comment 5 and Comment 6

As per the attachment attached in this comment, encoding seems broken.

Broken encoding was reproduced while localizing project "aeolus conductor" hosted at translate.zanata.org running Zanata version 1.4.2 (20111031-0915).


Since, existing Unicode text will need to be re-entered; does localizer have any control over TM gets the translations suggestions had a ???? for an equivalent strings ?