Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Windows Console working badly
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Surf Units in Text Mode I...
by
mosquito
[
Today
at 01:58:21 pm]
Ho Ho Ho IntraWeb in Laza...
by
Thaddy
[
Today
at 01:55:52 pm]
How to: create DLL file f...
by
Thaddy
[
Today
at 01:51:14 pm]
Generics - correct syntax
by
Thaddy
[
Today
at 01:48:32 pm]
FpDebug questions
by
440bx
[
Today
at 01:22:53 pm]
leetcode doesn’t support ...
by
codeninja
[
Today
at 01:16:43 pm]
Can function be used for ...
by
Joanna
[
Today
at 12:48:19 pm]
Parameter passing odditie...
by
Nitorami
[
Today
at 12:42:09 pm]
Access violation when ope...
by
Чебурашка
[
Today
at 12:14:30 pm]
Lazarus features in a non...
by
jollytall
[
Today
at 11:53:17 am]
Access violation when re-...
by
Chris Osborne
[
Today
at 11:43:49 am]
splitting an image
by
Dzandaa
[
Today
at 11:15:40 am]
how to tweek fpmake to co...
by
marcov
[
Today
at 10:35:11 am]
Why isn't TTIRadioGroup's...
by
egsuh
[
Today
at 08:09:35 am]
Lazarus for Windows on aa...
by
Wallaby
[April 23, 2024, 11:46:56 pm]
(Solved) TIndexedAVLTree ...
by
lainz
[April 23, 2024, 10:49:03 pm]
Demo Scene Picture sinwav...
by
KodeZwerg
[April 23, 2024, 10:26:21 pm]
fkInternalCalc
by
zraja
[April 23, 2024, 09:31:07 pm]
A fairly simple sound sol...
by
KodeZwerg
[April 23, 2024, 09:23:37 pm]
add new targets to make
by
marcov
[April 23, 2024, 08:38:42 pm]
Quirky windows
by
ASerge
[April 23, 2024, 07:07:16 pm]
[Request] Demo Scene Sub ...
by
Gigatron
[April 23, 2024, 06:29:39 pm]
Unlocking Files
by
KodeZwerg
[April 23, 2024, 06:03:08 pm]
[SOLVED] trunk bug for mi...
by
Key-Real
[April 23, 2024, 05:56:32 pm]
Demo Scene Bitmap Font Sc...
by
Gigatron
[April 23, 2024, 05:56:27 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Windows Console working badly (Read 3141 times)
ASBzone
Hero Member
Posts: 678
Automation leads to relaxation...
Re: Windows Console working badly
«
Reply #15 on:
January 22, 2020, 04:38:22 am »
Quote from: lainz on January 22, 2020, 12:46:59 am
Here is the program. The first ñ look bad, the second and third looks fine.
Thanks. Here is what I get.
Logged
-ASB:
https://www.BrainWaveCC.com/
Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)
My Systems: Windows 10/11 Pro x64 (Current)
ASBzone
Hero Member
Posts: 678
Automation leads to relaxation...
Re: Windows Console working badly
«
Reply #16 on:
January 22, 2020, 04:42:11 am »
I tried the following code, and ended up with the first two being bad. I'm going to test the executable across my systems:
Code: Pascal
[Select]
[+]
[-]
program
Project1
;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads
,
{$ENDIF}
LazUTF8
,
Classes
{ you can add units after this }
;
const
MyChar
=
'ñ'
;
var
MyString
:
string
=
'ñ'
;
begin
writeln
(
'ñ'
)
;
writeln
(
MyChar
)
;
writeln
(
MyString
)
;
writeln
(
UTF8ToAnsi
(
'ñ'
)
)
;
writeln
(
chr
(
164
)
)
;
readln
(
)
;
end
.
Logged
-ASB:
https://www.BrainWaveCC.com/
Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)
My Systems: Windows 10/11 Pro x64 (Current)
ASBzone
Hero Member
Posts: 678
Automation leads to relaxation...
Re: Windows Console working badly
«
Reply #17 on:
January 22, 2020, 04:46:02 am »
I ran the resulting executables from my Windows Servers, which are 2016 and 2019 (version 1809), and the output is the same.
I'll see if I can scrounge up a test box to recompile it on, which is running an older version of Windows, to see.
Logged
-ASB:
https://www.BrainWaveCC.com/
Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)
My Systems: Windows 10/11 Pro x64 (Current)
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Windows Console working badly
TinyPortal
© 2005-2018