C invalid Utf character
i'm not a C developer, i just have to pass an exam on basic c coding, so i have to provide a classic labyrinth solver. No problem at all in developin' it, but once i save the labyrinth and its solution in a plain file, it "sometimes" write some character i don't expect, and they're not even in utf-8 charset (i guess they're western-iso-something). I guess it could depend on my environment: i have Ubuntu 10.10. 

Can't even paste those character in this post as they won't be shown, off course. 


I Hope i won't get my first tumbleweed badge, but this question is about to do it ;)
C invalid Utf character
===

i'm not a C developer, i just have to pass an exam on basic c coding, so i have to provide a classic labyrinth solver. No problem at all in developin' it, but once i save the labyrinth and its solution in a plain file, it "sometimes" write some character i don't expect, and they're not even in utf-8 charset (i guess they're western-iso-something). I guess it could depend on my environment: i have Ubuntu 10.10. 

Can't even paste those character in this post as they won't be shown, off course. 


I Hope i won't get my first tumbleweed badge, but this question is about to do it ;)