[TIMOB-13261] BlackBerry: TextField and Label are not displaying German umlauts
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-09T23:06:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 08 BB, 2013 Sprint 08, Release 3.2.0 |
Components | BlackBerry |
Labels | qe-testadded, sdk-bb |
Reporter | Russell McMahon |
Assignee | Josh Roesslein |
Created | 2013-03-28T23:06:10.000+0000 |
Updated | 2014-06-19T12:44:41.000+0000 |
Description
Test Case
var win = Ti.UI.createWindow({
layout: 'vertical'
});
var label = Ti.UI.createLabel({
text : 'Label äöüÄÖÜ'
});
win.add(label);
var textField = Ti.UI.createTextField({
value : 'TextField äöüÄÖÜ '
});
win.add(textField);
win.open();
Expected: Both the label and text field should properly display the German unicode text.
Actual: Garbage characters are drawn instead.
Is there a test case we can reproduce the issue? Is this with typing or using textField.setValue(someText)?
Josh, here is my example from [appc-ti-mobile-blackberry Group](https://groups.google.com/forum/?fromgroups=#!topic/appc-ti-mobile-blackberry/1_w7rivtmt0) I reported some more issues in this group post, so here's my complete comment: {quote} Hi Russ, I wrote a litte test app for testing Label wordwrap and realized even more stuff not working. I tested this on BB10 Simulator, BB10 Dev Alpha B and iOS Simulator. On iOS Simulator everything works as expected, but not on BB10 side. This is what is not working properly: 1. German Umlauts are not displayed correctly in Ti.UI.Label and Ti.UI.TextField. 2. wordwrap don't work (we know that) 3. backgroundColor for Ti.UI.TextField don't work 4. Ti.UI.ScrollView EventListener("click") gets fired if I attempt to scroll the ScrollView 5. In Ti.UI.ScrollView EventListener("click") I can not access "e.source" and "e.source.myRowIndex" 6. for Ti.UI.ScrollView I have to set ContentHeight explicit, because 'auto' don't work {quote}
Hope that helps, Matthias
Thanks Matthias! Just found that myself a few minutes ago. Added a simplified test case for this bug above. The fix was pretty quick, so it should be pushed in a few minutes and available via CI and the next release.
Perfect! Thanks Josh.
Verified the fix & the german emlauts are displays properly. Environment: Ti Studio : 3.1.0.201304051530 Ti BB SDK : 3.2.0.v20130409153013 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.10.261 Z10 device running 10.0.10.88
Reopening to correct the ti sdk version.
Closing after editing the Ti sdk version which was put wrong my me.