Re: [fpc-pascal] String.Split(const Separators: array of Char; Options: TStringSplitOptions)

2021-09-16 Thread Michael Van Canneyt via fpc-pascal
On Thu, 16 Sep 2021, Bart via fpc-pascal wrote: Hi, I must be missing something obvious. But given the following definition of the Split() helper function for strings: Function Split(const Separators: array of Char; Options: TStringSplitOptions): TStringArray; overload; (fpc 3.2.2) Why does

Re: [fpc-pascal] Code page for the Windows event viewer

2021-09-16 Thread Abuy via fpc-pascal
No change. On 16.09.2021 13:28, Tomas Hajny via fpc-pascal wrote: On 2021-09-15 16:09, Abuy via fpc-pascal wrote: UnicodeString change only look of symbols (instead of quastion marks this — Іівівйц ГђВ№ вфівфъ2цву йцуцйівіГ

[fpc-pascal] String.Split(const Separators: array of Char; Options: TStringSplitOptions)

2021-09-16 Thread Bart via fpc-pascal
Hi, I must be missing something obvious. But given the following definition of the Split() helper function for strings: Function Split(const Separators: array of Char; Options: TStringSplitOptions): TStringArray; overload; (fpc 3.2.2) Why does this not compile: var SA: TStringArray; ... S

Re: [fpc-pascal] Code page for the Windows event viewer

2021-09-16 Thread Tomas Hajny via fpc-pascal
On 2021-09-15 16:09, Abuy via fpc-pascal wrote: UnicodeString change only look of symbols (instead of quastion marks this — Іівівйц ГђВ№ вфівфъ2цву йцуцйівів). No BOM. File is UTF-8. No command line parameters. If your s