On 6/5/2016 11:18 PM, 张可星 wrote:
When I open my file ,Dr racket told me as below

`在读取/home/richard/桌面/TheGame.rkt时出现错误.
insert-file in text%: error loading the file (read-from-file-failed)`

all my code are lost ,what can I do now?
I use Drracket 6.5 on ubuntu 16.04lts
I find the same issue here
http://lists.racket-lang.org/users/archive/2011-October/048596.html
But it doesn't help
As the same ,I do have picture in my code.


Is it possible you (or somebody else) opened the file in another editor? I have seen a variety of problems in DrRacket when another editor has written a UTF-8 BOM header into a source file.

If that is that case, opening the file in a plain text editor and removing the first 2 characters should fix it.

George

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to