kubuntu kate and utf-8 encoding
-
i copied some code off the net and when saving the file in kate i get this message: You are trying to save a python file as non ascii, without specifying a correct source encoding line for encoding utf-8. Say what? Like i'm new to linux but i'm not new to computers and i have no idea what this means. options are insert coding or save nevertheless. The problem is i can;t alter the code the compiler says syntax error every time. Is that why? the utf-8 encoding?
-
i copied some code off the net and when saving the file in kate i get this message: You are trying to save a python file as non ascii, without specifying a correct source encoding line for encoding utf-8. Say what? Like i'm new to linux but i'm not new to computers and i have no idea what this means. options are insert coding or save nevertheless. The problem is i can;t alter the code the compiler says syntax error every time. Is that why? the utf-8 encoding?
The file you are trying to save contains non-ASCII data. Call it "binary" data if it's clearer. That's why Kate asks you about the encoding and the compiler fails. You should hunt the non-ASCII data down and remove it, then you'll be ok. :)
2+2=5 for very large amounts of 2 (always loved that one hehe!)
-
The file you are trying to save contains non-ASCII data. Call it "binary" data if it's clearer. That's why Kate asks you about the encoding and the compiler fails. You should hunt the non-ASCII data down and remove it, then you'll be ok. :)
2+2=5 for very large amounts of 2 (always loved that one hehe!)
Happens with " all the time, because most word-processors feel they need to change those...
Cheers, Sebastian -- "If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
-
Happens with " all the time, because most word-processors feel they need to change those...
Cheers, Sebastian -- "If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
Owww nasty word procs hehe! :)
2+2=5 for very large amounts of 2 (always loved that one hehe!)
-
Owww nasty word procs hehe! :)
2+2=5 for very large amounts of 2 (always loved that one hehe!)
I thought Kate was a well behaved plaintext editor? Meh, I've used Komodo Edit which can handle such odd things as Shift-JIS if I want it to...
---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"