[windev] Problem reading text files
Roberto Tirabassi
rtirabassi at 3di.it
Wed Apr 1 08:04:25 GMT 2009
Hi Serge,
I think I didn't explain correctly our needs.
Use are developers of a native XML Data Base. Every data is in XML
format so we do know the encoding of every byte we read, no matter what
we use to read it..
CStdioFile and CFile are MFC, that is, Microsoft dependent. I can't
use them on Linux platform so... in order to have just one code that we
compile on many platforms, we simply don't use it.
So... My problem isn't to know which is the code page since, doing
it myself or using libiconv, I can change any bytestream from one
encoding to another. My problem is to transliterate any codepage text
to a common form, in order to create common full text indexes. We
believe that form can be ASCII-7. I know that I used the title "Problem
reading text files" but... I meant something different.
Anyway, thanks for your help and I do agree: There's nothing as
plain text.
Roberto Tirabassi.
--
"Perché diciamo alle persone che ci piacciono o cui vogliamo bene:
Mi piaci da morire o ti voglio bene da morire?
Diciamo piuttosto: Mi piaci da Vivere e ti voglio bene da Vivere!"
[Da un pensiero di Sergio Endrigo]
Skype: roberto.tirabassi
3D Informatica, Via Speranza 35,
40068, S.Lazzaro di Savena - Bologna, Italy
Voice: +39051450844, Fax: +39051451942
WWW: http://www.3di.it
Documentation: http://www.3di.it/manuali/ - http://wiki.3di.it
FTP: ftp://ftp@ftp.3di.it, Download:/3di, Upload:/incoming
--
More information about the Windev
mailing list