FMX.TMSRichEditorBase Compile error

IDE: Delphi XE8

Component: TMS Pack for FireMonkey 2.9.0.3 version



I used TMSFMXRichEditor.

when build all, "[dcc32 Error] FMX.TMSRichEditorBase.pas(1272): E2038 Illegal character in input file: '?' (#$3F)" occurs...



var

HTMLEncodedChar : array[1..55] of string = ('?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '?,'?,'?,'?,

                                             '�','?,'?,'?,'?,'?,'?);

Hi, 


This is the first time we have encountered such issue, did you make any changes to the compiler settings of XE8? The file shouldn't be altered and the HTMLEncodedChar array should look as 

var
  HTMLEncodedChar : array[1..55] of string = ('é','è','ë','ê',
                                             'ó','ò','ö','ô',
                                             'í','ì','ï','î',
                                             'ú','ù','ü','û',
                                             'á','à','ä','â',
                                             'É','È','Ë','Ê',
                                             'Ó','Ò','Ö','Ô',
                                             'Í','Ì','Ï','Î',
                                             'Ú','Ù','Ü','Û',
                                             'Á','À','Ä','Â',
                                             'ç','Ç','ø','Ø',
                                             'å','Å','©','®',
                                             '€','«','»','ã','Ã','õ','Õ');


We have verified that this file is present with the above array in the latest version.

Kind Regards, 
Pieter

Under the multi-language operating system environment, you need the following:



var

HTMLEncodedChar : array[1..55] of string = (Char($E9),Char($E8),Char($EB),Char($EA),

                                              Char($F3),Char($F2),Char($F6),Char($F4),

                                              Char($ED),Char($EC),Char($EF),Char($EE),

                                              Char($FA),Char($F9),Char($FC),Char($FB),

                                              Char($E1),Char($E0),Char($E4),Char($E2),

                                              Char($C9),Char($C8),Char($CB),Char($CA),

                                              Char($D3),Char($D2),Char($D6),Char($D4),

                                              Char($CD),Char($CC),Char($CF),Char($CE),

                                              Char($DA),Char($D9),Char($DC),Char($DB),

                                              Char($C1),Char($C0),Char($C4),Char($C2),

                                              Char($E7),Char($C7),Char($F8),Char($D8),

                                              Char($E5),Char($C5),Char($A9),Char($AE),

                                              Char($80),Char($AB),Char($BB),Char($E3),Char($C3),Char($F5),Char($D5));



It is found in the following .pas files

FMX.TMSRichEditorBase.pas

FMX.TMSHTMLEngine.pas