I have a problem with the encoding of my files. These are direct access files. The TextBoxes that feed these files are able to display all characters, in Polish, Ukrainian, etc. and of course in my language, in French, with all the accented characters.
On the other hand, thinking that they have to be encoded in Unicode, while they are created in utf8, well I think (I'm not sure at all), after saving the data, the exotic accents disappear ! Only the French accents remain!
Example : Ró?a Czacka
. Which gives me Róza Czacka
once recorded!
The code I use to save my files:
Nbr = FreeFile()
FileOpen(Nbr, OuvrirFichier, OpenMode.Random, OpenAccess.ReadWrite, _
OpenShare.LockWrite, Len(bibliotheque))
enreg = FileLen(OuvrirFichier) Len(bibliotheque)
With bibliotheque
.Title = TextBox2.Text
.Name = TextBox1.Text
.Charge = TextBox4.Text
.Institute = TextBox15.Text
.Celebration = TextBox5.Text
.Birth = TextBox7.Text
.Death = TextBox9.Text
.Otherparties = TextBox13.Text
.Othernames = TextBox18.Text
.Venerable = TextBox23.Text
.Beatified = TextBox24.Text
.Canonized = TextBox25.Text
.Heading = TextBox26.Text
.Patron = TextBox28.Text
.Link = TextBox29.Text
.Biography = TextBox31.Text
.Image = TextBox33.Text
End With
FilePut(Nbr, bibliotheque, enreg)
FileClose(Nbr)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…