nonprintable character in VS2005 editor.

Started by
14 comments, last by hyeewang 14 years, 7 months ago
Surprisedly,I found a nonprintable character in *.c file when using VS2005. It look like a circle and a cross in up-down order. But if I used ultraedit to open that file, it displayed a long line seeming to be endless in that location. There are 4 such same nonprintable character altogether in that file. I complie it and it work well,just as nonexisted at all. I wonder, How the author type it? And what is its usage? Cheers HyeeWang@gmail.com
Advertisement
Can you cut'n'paste the character here so we can see?

My guess is it's an encoding issue. Given than you're in China, I would assume your system locale is set to Chinese, whereas the person who sent you the file probably has his locale set to something else. So your system is interpreting the byte values according to the Chinese encoding, when in fact he wrote it using some other encoding. But that's just a guess...

This is why Unicode is so cool :-)
Thank you. Codeka.

It can not be displayed rightly in other editor. So if I copy and paste it here,it would dispaly as follow --- .
It display nothing here,but in editor window of this website,it dispaly a hollow square box.
The "---" is that I added as dash.
There are 4 such same nonprintable character altogether in that file. They resided in instruction line separately,not comment line. There is nothing other than such nonprintable character in that singe instruction line.
Take a screenshot, crop it so that only the characters are shown, and put the pic here?

Though that said, if they really don't affect the building... Just ask to whoever commited the change with the characters to see if they're meant to be there (a wrongly interpreted comment?), and if not, then just get rid of them.
Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.
Thank you.
I can print the screen and save it be a file. But how can submit the file here?
I did not find any function menu about attached file in this forum.

The project built and run well. I am only puzzled by that strange expression.
Quote:circle cross up-down

Uhm, it was not by chance this one:

?

Which happens to be the canonical symbol used for the female sex, at least in western culture.

[Edited by - phresnel on September 11, 2009 7:44:32 AM]
Quote:Original post by hyeewang
But if I used ultraedit to open that file...
Can you press Ctrl+H in ultraedit and tell us what the hex value for that character is?
Quote:Original post by hyeewangI can print the screen and save it be a file. But how can submit the file here?
I did not find any function menu about attached file in this forum.

You don't. You upload the pic somewhere, then you use the HTML img tag with the address of the pic as follows (using the URL of the pic, of course):
<img src="http://www.example.com/blah.png" />
Quote:Original post by phresnel
Uhm, it was not by chance this one:

*** picture ***

Which happens to be the canonical symbol used for the female sex, at least in western culture.

Isn't that the page feed character? Or the vertical tab one, although I don't think it's that one.
Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.

This topic is closed to new replies.

Advertisement