Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/IDE/Form Designer    [ Add a report in this area ]  
Report #:  98566   Status: Closed
Mobile Text Area incompatible with UTF8 characters
Project:  HTML5 Builder Build #:  4.0.0.1547
Version:    4.0 Submitted By:   UMBERTO MASOTTI
Report Type:  Basic functionality failure Date Reported:  9/5/2011 11:37:44 AM
Severity:    Commonly encountered problem Last Updated: 9/7/2011 6:07:56 PM
Platform:    All versions Internal Tracking #:  
Resolution: Test Case Error (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If in property MTextArea.Lines there are regional characters (like ?????or so) MTextArea becomes white.
Maybe related with 98411 or 98551/98483
Steps to Reproduce:
1 - create new mobile project
2 - add a MobileTheme
3 - add a panel
4 - change color to MPanel (ok: color changes)
5 - add a MTextArea in the panel
6 - change color to textarea (ok color changes)
7 - Show TextArea.Lines property editor and insert two lines like
Grande scelta di aperitivi
Il barman ?lieto di accogliervi con le sue specialit?8 - Textarea white and shows nothing
9 - edit Lines as
Grande scelta di aperitivi
Il barman est lieto di accogliervi con le sue specialitate
10 - text and background shown in textarea
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 9/6/2011 10:27:16 PM -
> ...  UTF8 characters
Have you already setup UTF-8 mode for IDE and php.ini?
1. [Tools] | [Options...] | [Editor Options]
  - Text Encoding: UTF-8
  - Text Format: Default
  - Character Set: Default
2. [Tools] | [Options...] | [Editor Options] | [PHP]


> 3 - add a panel
Do you add Panel instead of MPanel?


> 10 - text and background shown in textarea
Could you please attach sample project(including screenshots) to confirm your issue?

UMBERTO MASOTTI at 9/7/2011 11:04:40 AM -
> Tomohiro Takahashi said: "Have you already setup UTF-8 mode for IDE and php.ini?"
After changing in UTF-8 mode and restarting application is OK.
Should note that a message when IDE cannot translate character codes for rendering could help.

> Tomohiro Takahashi said: "Do you add Panel instead of MPanel?"
MPanel, sorry for typo.

Close this issue.
Must note that in this case projects saved with previous build just restored have wrong aspect (doesn't show color nor text) and should be recreated from scratch.

Tomohiro Takahashi at 9/7/2011 6:08:32 PM -
UMBERTO-san
Thanks for quick reply. I closed this report.

Server Response from: ETNACODE01