Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » reading & writing a file
Re: reading & writing a file [message #32669 is a reply to message #32657] Wed, 01 June 2011 10:17 Go to previous messageGo to previous message
silverx is currently offline  silverx
Messages: 62
Registered: March 2011
Member
I tried this and added a PromptOK(inl); so I can check what it is reading. Thanks.

When I run it nows gives me an box that has:

ERROR: Invalid UTF-8 sequence: `#

On the first line only, after that it just has a blank box instead of data to put out on other lines in the file.

The file is saved as unicode, as it will contain not only America characters, but will have Russian or Ukrainian characters and words in it as well. So it has to be saved in unicode.

Not sure if it is the PromptOK that has the issue or the read. If I don't put the PromptOK, I don't get any error, but I am not sure it is processing the file either.

David

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message icon7.gif
Read Message
Previous Topic: GridCtrl out-of-bound crash with test case
Next Topic: using a file chooser (dir chooser??) to get a dir and not a file
Goto Forum:
  


Current Time: Thu May 23 04:32:46 CEST 2024

Total time taken to generate the page: 0.01888 seconds