User forums > Nightly builds

The 09 June 2008 build (5093) is out.

<< < (2/6) > >>

Jenna:
I have no problems opening these files, neither string.cpp from wxWidgets-sources, nor you file, execpt of extra linebreaks in your attachement.

The show as "ISO-8859-1"-encoded.

It might be an encoding-problem, that could lead to strange behaviour, if C::B can not recognize the encoding correctly.

starofrainnight:
thanks jens :)

i don't know if there an encoding-problem, but i try to convert it to UTF-8 with BOM using notepad++, and codeblocks can't show it still ...

then i redownload an wxWidget zip package, and open the same string.cpp in the package, but the same result.... that mean whether the redownload one or the one i have, can't show correctly the same  :(

but codeblock open other cpp files correctly -_-! that confuse me T_T

starofrainnight:
i found the murderer!

i check it line by line ( -_-b ), and found the line 1592 cause that problem :

the bad one :

--- Quote ---// isspace('?) in the C locale which seems to be broken to me, but we have to

--- End quote ---

the good one :

--- Quote ---// isspace('') in the C locale which seems to be broken to me, but we have to

--- End quote ---

when i change the char "?" to any other chars, then codeblocks open it correctly.... :shock:

starofrainnight:
i felt confuse that : notepad++ also using Scintilla, why it havn't happened that problem and codeblocks does?

i should go to sleep now, that problem make me all night jump up and down  8)

XayC:
It looks like it's an encoding problem, what is the encoding type you see in the Code::Blocks status bar?
And the character is giving you problems is not a question mark, but a lowercase e-circumflex (which is this character 'ê', or you can see it here: e-circumflex).

Seems that CB is having problems detecting the file as a ISO-8859-1 encoded text file, which is strange because CB 8.02 on WinXP is working correctly.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version