On Sat, Feb 24, 2018 at 7:55 PM, R0b0t1 wrote:
> My question was not about UTF-8 support in Lazarus. I know it works.
> My question was about interoperability with Windows. Theoretically
> there are some serious issues; I figured I would get a better response
> asking someone using UTF-8 with Wind
On Sat, Feb 24, 2018 at 5:17 AM, Juha Manninen via Lazarus
wrote:
> On Fri, Feb 23, 2018 at 11:15 AM, R0b0t1 via Lazarus
> wrote:
>> Not to take the thread offtopic, ...
>
> You took it offtopic anyway.
> UTF-8 works just fine. Please read this page :
> http://wiki.freepascal.org/Unicode_Support
On Fri, Feb 23, 2018 at 11:15 AM, R0b0t1 via Lazarus
wrote:
> Not to take the thread offtopic, ...
You took it offtopic anyway.
UTF-8 works just fine. Please read this page :
http://wiki.freepascal.org/Unicode_Support_in_Lazarus
and start a new thread if you did not understand something.
Juha
-
On Fri, 23 Feb 2018 11:18:55 +0100
Mattias Gaertner via Lazarus wrote:
>[...]
> Write and Writeln are pure compiler magic.
> Apparently if the string is CP_ACP, it is passed unchanged to Output,
> ignoring the DefaultSystemCodepage variable.
I correct myself. ;)
My example of write(s) showed th
On 23.02.2018 11:18, Mattias Gaertner via Lazarus wrote:
Write and Writeln are pure compiler magic.
Apparently if the string is CP_ACP, it is passed unchanged to Output,
ignoring the DefaultSystemCodepage variable. Otherwise it converts the
string to the console codepage. This allows to write arb
On Fri, 23 Feb 2018 10:56:11 +0100
Luca Olivetti via Lazarus wrote:
> El 23/02/18 a les 09:23, Mattias Gaertner via Lazarus ha escrit:
> > On Fri, 23 Feb 2018 08:56:55 +0100
> > Ondrej Pokorny via Lazarus wrote:
> >
> >> On 23.02.2018 8:46, Mattias Gaertner via Lazarus wrote:
> >>> But this
On Fri, Feb 23, 2018 at 3:25 AM, Michael Van Canneyt via Lazarus
wrote:
>
>
> On Fri, 23 Feb 2018, R0b0t1 via Lazarus wrote:
>
>> On Fri, Feb 23, 2018 at 2:29 AM, Ondrej Pokorny via Lazarus
>> wrote:
>>>
>>> OK, you mean it's a wiki page issue. I just didn't understand how we
>>> could
>>> solve
El 23/02/18 a les 09:23, Mattias Gaertner via Lazarus ha escrit:
On Fri, 23 Feb 2018 08:56:55 +0100
Ondrej Pokorny via Lazarus wrote:
On 23.02.2018 8:46, Mattias Gaertner via Lazarus wrote:
But this is a Lazarus issue.
Why?
Because the wiki page is unclear.
writeln('áéí'); // works only
On Fri, 23 Feb 2018, R0b0t1 via Lazarus wrote:
On Fri, Feb 23, 2018 at 2:29 AM, Ondrej Pokorny via Lazarus
wrote:
OK, you mean it's a wiki page issue. I just didn't understand how we could
solve it in Lazarus :)
I am interested in this thread because I was under the impression that
UTF-8
On Fri, Feb 23, 2018 at 2:29 AM, Ondrej Pokorny via Lazarus
wrote:
> OK, you mean it's a wiki page issue. I just didn't understand how we could
> solve it in Lazarus :)
>
I am interested in this thread because I was under the impression that
UTF-8 support in Windows is fundamentally broken and sh
On 23.02.2018 9:23, Mattias Gaertner via Lazarus wrote:
On Fri, 23 Feb 2018 08:56:55 +0100
Ondrej Pokorny via Lazarus wrote:
On 23.02.2018 8:46, Mattias Gaertner via Lazarus wrote:
But this is a Lazarus issue.
Why?
Because the wiki page is unclear.
writeln('áéí'); // works only with source
On Fri, 23 Feb 2018 08:56:55 +0100
Ondrej Pokorny via Lazarus wrote:
> On 23.02.2018 8:46, Mattias Gaertner via Lazarus wrote:
> > But this is a Lazarus issue.
>
> Why?
Because the wiki page is unclear.
writeln('áéí'); // works only with source codepage UTF-8
s:='áéí';
writeln(s); // works
On 23.02.2018 8:46, Mattias Gaertner via Lazarus wrote:
But this is a Lazarus issue.
Why?
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
On Fri, 23 Feb 2018 08:44:23 +0100
Ondrej Pokorny via Lazarus wrote:
> OK, sorry. I wrote bullshit. But still, you should ask on fpc-devel list
> regarding compiler issues - the right people are there.
fpc-devel is about development of the compiler.
fpc-pascal is for normal user questions.
But
OK, sorry. I wrote bullshit. But still, you should ask on fpc-devel list
regarding compiler issues - the right people are there.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
El 22/02/18 a les 22:26, Ondrej Pokorny via Lazarus ha escrit:
On 22.02.2018 12:21, Luca Olivetti via Lazarus wrote:
Lazarus 1.8.0, fpc 3.0.4, windows application (with "win32 gui
application unchecked") or console application (using LazUTF8).
File encoding utf-8 without bom.
writeln('áéí')
p
On 22.02.2018 12:21, Luca Olivetti via Lazarus wrote:
Lazarus 1.8.0, fpc 3.0.4, windows application (with "win32 gui
application unchecked") or console application (using LazUTF8).
File encoding utf-8 without bom.
writeln('áéí')
produces garbage, contrary to what's said in
http://wiki.freepas
El 22/02/18 a les 13:46, Luca Olivetti via Lazarus ha escrit:
El 22/02/18 a les 13:07, Tony Whyman via Lazarus ha escrit:
You may find the "SetTextCodePage" procedure useful when it comes to
setting the code page for a Windows console.
e.g. SetTextCodePage(stdout,cp_utf8);
Same result: garba
El 22/02/18 a les 13:07, Tony Whyman via Lazarus ha escrit:
You may find the "SetTextCodePage" procedure useful when it comes to
setting the code page for a Windows console.
e.g. SetTextCodePage(stdout,cp_utf8);
Same result: garbage with writeln, correct result with w
See also
https://ww
You may find the "SetTextCodePage" procedure useful when it comes to
setting the code page for a Windows console.
e.g. SetTextCodePage(stdout,cp_utf8);
See also
https://www.freepascal.org/docs-html/rtl/system/settextcodepage.html
On 22/02/18 11:21, Luca Olivetti via Lazarus wrote:
Lazarus 1
Lazarus 1.8.0, fpc 3.0.4, windows application (with "win32 gui
application unchecked") or console application (using LazUTF8).
File encoding utf-8 without bom.
writeln('áéí')
produces garbage, contrary to what's said in
http://wiki.freepascal.org/Unicode_Support_in_Lazarus#Writing_to_console
21 matches
Mail list logo