Recent

Author Topic: Problem with TextFile and ReadLn  (Read 1947 times)

Jvan

  • Full Member
  • ***
  • Posts: 181
Problem with TextFile and ReadLn
« on: June 03, 2021, 12:33:38 am »
I have a plain text file with these characters: Ñ, Á, É, etc.
But when I use TextFile and ReadLn, I get: �

engkin

  • Hero Member
  • *****
  • Posts: 2872
Re: Problem with TextFile and ReadLn
« Reply #1 on: June 03, 2021, 12:40:02 am »
What encoding are you using in the text file?
OS, Laz/FPC versions?

Jvan

  • Full Member
  • ***
  • Posts: 181
Re: Problem with TextFile and ReadLn
« Reply #2 on: June 03, 2021, 03:59:55 am »
OS

engkin

  • Hero Member
  • *****
  • Posts: 2872
Re: Problem with TextFile and ReadLn
« Reply #3 on: June 03, 2021, 04:17:57 am »
:D OS is for your Operating System. Are you using Windows?
Is it win10?

Maybe post or upload your code and your text file.

 

TinyPortal © 2005-2018