Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

SVN-HEAD binaries download

<< < (15/18) > >>

280Z28:

--- Quote from: killerbot on January 02, 2006, 02:23:50 pm ---yes, it happens with other files also, for example with some scintilla cb files, see another post. Bug has already been filed on SF, hope it will get fixed soon. In antoher report it was stated that the file might contain some charactrs that don't translate well in unicode (as far as I understood).

Lieven

--- End quote ---

How was the bug fixed in the SF patch?

This is a Code::Blocks problem, not a scintilla problem. It is also very difficult to find an "optimal solution." :(

thomas:

--- Quote from: therion on January 02, 2006, 02:17:48 pm ---Hello all, happy new year :-)
Uploaded rev 1644 unicode.

There is a strange bug in it, some of my source files doesn't open on editor, i mean, they are opened but the editor remains empty...

--- End quote ---
Do these happen to be non-Unicode files with a charset different from ISO 8859-1?
I heard similar things before, although I am not able to reproduce it. It seems that wxScintilla has no problems opening UTF-8 files, but some non-US/non-Euro charsets seem to fail...?

280Z28:

--- Quote from: thomas on January 02, 2006, 02:26:06 pm ---
--- Quote from: therion on January 02, 2006, 02:17:48 pm ---Hello all, happy new year :-)
Uploaded rev 1644 unicode.

There is a strange bug in it, some of my source files doesn't open on editor, i mean, they are opened but the editor remains empty...

--- End quote ---
Do these happen to be non-Unicode files with a charset different from ISO 8859-1?
I heard similar things before, although I am not able to reproduce it. It seems that wxScintilla has no problems opening UTF-8 files, but some non-US/non-Euro charsets seem to fail...?

--- End quote ---

sdk\wxscintilla\src\scintilla\src\editor.cxx will fail because it is not UTF8. Code::Blocks doesn't have support for opening files that are not UTF8, and files are always saved as UTF8 without BOM.

thomas:

--- Quote from: 280Z28 on January 02, 2006, 02:28:01 pm ---sdk\wxscintilla\src\scintilla\src\editor.cxx will fail because it is not UTF8. Code::Blocks doesn't have support for opening files that are not UTF8
--- End quote ---
Sam, this is not true. Code::Blocks does certainly support opening non-Unicode files. What drives you to make such a hilarious statement?

Almost all of my own source files are ISO8859-1 encoded, and Code::Blocks 1636 Unicode (which I currently work with) opens them just fine!

This is a bug which only appears with certain charsets (probably because wxScintilla does not know how to translate them?), and it does not have anything to do with BOM.

killerbot:
Open THE CB project, sources, sdk, wxscintilla, src, scintilla, src, Editor.cxx -> nothing visible.
Strange that scintilla would have problems with it's own source files ;-)

Lieven

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version