[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read UTF-8 characters from text files

From: Santiago Higuera
Subject: Read UTF-8 characters from text files
Date: Thu, 7 Dec 2017 00:18:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


I'm trying to read some text files with Spanish characters, as ñ, ó and others.

I don't know how to do it. I have tried with fscanf('%s'), but I get a warning message:  'warning: range error for conversion to character value'

Can you help me?

Thanks, regards

Santiago Higuera

reply via email to

[Prev in Thread] Current Thread [Next in Thread]