User forums > Nightly builds
The 02 February 2009 build (5432) is out.
hying:
a bug:
when open a file with some chinese character,
the edit window show nothing.
[attachment deleted by admin]
gd_on:
A small problem with file time, in file properties window, with C::B 8.02 and last nightly SVN 5436 (both compiled with gcc 3.4.6 and using wx 2.8.7).
With 8.02, minutes and seconds are wrong. With SVN 5436, only minutes are wrong, seconds are correct.
OS is Linux Redhat enterprise 4.7 in french.
No problem with Windows XP.
gd_on
[attachment deleted by admin]
nanyu:
--- Quote from: hying on February 04, 2009, 07:45:51 am ---a bug:
when open a file with some chinese character,
the edit window show nothing.
--- End quote ---
This situation happend on me:
windows xp (Chinese)
Code::Blocks svn 5432
step1: Setting->Editor:
Use encoding when opening files: UTF8
checked: As fallback encoding
step2 : Now open a file which saved with "GB2312" encoding..
editor show nothing.
but when i open the same file by notepad, everything ok.
[attachment deleted by admin]
MortenMacFly:
--- Quote from: nanyu on February 04, 2009, 10:34:30 am ---This situation happend on me:
editor show nothing.
--- End quote ---
That's not a bug. C::B does exactly what you tell him to do:
You provide an ANSI file with "non-ANSI" characters. Then you tell C::B to try to detect the encoding which fails. You tell C::B "In that situation use UTF-8 as fallback" but your file is not UTF-8. Thus C::B fails again. The result: An empty file.
Choose the right encoding in the first place (when you create the file) I'd say.
To match the settings you have currently in C::B you need a file in UTF-8. Thus open your file in notepad (if you like), choose "Save-as" and "UTF-8" as format. Then it'll work in C::B.
Jenna:
Nevertheless, there seems to be an encoding bug in actual nightly, what is fixed in trunk.
See here: http://forums.codeblocks.org/index.php/topic,10040.msg69822.html#msg69822.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version