Re: utf8 printing problem

2022-07-23 Thread Mátyás Seress
65001. After that, if I execute the chicken test, it works perfectly. So now I learned something. Thanks for the help! Op za 23 jul. 2022 om 20:04 schreef Mario Domenech Goulart < ma...@parenteses.org>: > Hi Mátyás, > > On Sat, 23 Jul 2022 11:13:39 +0200 Mátyás Seress > wro

utf8 printing problem

2022-07-23 Thread Mátyás Seress
Hi everyone, I wanted to try out printing some utf8 text to the console, but I ran into some issues. This is my program: (import utf8) (print "őŐűŰ") And when I run it on the command line with csi test-utf.scm then I get this output: CHICKEN (c) 2008-2019, The CHICKEN Team (c) 2000-2007,

cannot open file if name contains accented characters

2023-12-24 Thread Mátyás Seress
Hi everyone, I want to read input from a file that contains accented characters in its name, and Chicken says that it can't open the file. The source code is saved in a UTF-8 encoded text file. -- the test code -- (import (chicken io)) (define read-lines-from-file (lambda

Re: cannot open file if name contains accented characters

2023-12-26 Thread Mátyás Seress
Thanks for the responses. I tried what I could, but it still doesn't work. I wrote some code to test if I can open and close a file. The C code works but the Chicken code doesn't. -- test.c -- #include #include // this file needs to be saved with explicit BOM (byte order mark)

Re: cannot open file if name contains accented characters

2023-12-27 Thread Mátyás Seress
I tried your code but I got all kinds of compile errors. Sorry, but it's gotten to be too much effort to just open a file. Op di 26 dec 2023 om 21:45 schreef : > > Thanks for the responses. I tried what I could, but it still doesn't > work. > > I wrote some code to test if I can open and close a