Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1917

Summary: EEncodingError with TWorldSeries in Android
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 22.170619   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=17&t=16676
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: call stack

Description yeray alonso 2017-09-13 06:39:59 EDT
Created attachment 782 [details]
call stack

The problem appears when you have a TChart with a TWorldSeries added at design time.

To reproduce the problem, just:
- Create a new FMX project in Tokyo
- Drop a TChart into the form
- Add a TWordSeries series to the chart, at design time.
- Select Android as target
- Press F9 to Debug the project.

You get an error:

Project Project1.apk raised exception class EEncodingError with message 'No mapping for the Unicode character exists in the target multi-byte code page'.

Find a screenshot of the Call Stack attached.

Note doing the same at runtime works without problems:

uses FMXTee.Chart, FMXTee.Series.World;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=TAlignLayout.Client;

  Chart1.View3D:=False;
  Chart1.Legend.Hide;
  Chart1.AddSeries(TWorldSeries).FillSampleValues;
end;