Author Topic: The 13 february 2006 build is out.  (Read 27506 times)

artur

  • Guest
Re: The 13 february 2006 build is out.
« Reply #15 on: February 15, 2006, 07:38:47 am »
When I use Polish characters in source code
       wxMessageBox(_("Błąd podczas pobierania listy baz"), _("BŁĄD"), wxICON_ERROR | wxOK);
CB writes on HDD empty file.
When I delete these characters file is written OK.

use UTF-8 encoding

Edit->File Encoding->

Something doesn't work here. First before I chose UTF-8 an empty file was saved overwritting everyting. After that I've chosen UTF-8 but after saving CB the characters were not the right one. I was trying to use cyrillic characters.

Is it possible for CB to automatically detect the encoding, when using non-ASCII characters?

Should I report this as a bug or as suggestion for a new feature?

i also had 0-byte files when saving as ISO-encoded file, but it worked for me after switching to UTF-8, but i don't use cyrillic chars  :roll:

I've switched encoding to UTF-8 and then files were seved correctly, but...
When I've closed file and reopened it (without closing CB) encoding was set to ASCII again.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: The 13 february 2006 build is out.
« Reply #16 on: February 15, 2006, 08:35:39 am »
If you 're having problems, please start a new topic. This forum is only for nightlies announcements.

C::B doesn't perform encoding detection (yet). If someone wants to implement it, patches are welcome.
Here's a link to help you get started: A composite approach to language/encoding detection
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: The 13 february 2006 build is out.
« Reply #17 on: February 15, 2006, 09:14:58 am »
If you saved as UTF-8, just make sure to save it with the BOM.

Offline Antrykot

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 13 february 2006 build is out.
« Reply #18 on: February 15, 2006, 09:56:57 am »
Hi,
When I remove some files from project (about 3 or 4) the CB crashes (on Windows XP) :/
Can you fix this ? :)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: The 13 february 2006 build is out.
« Reply #19 on: February 15, 2006, 11:40:22 am »
Is there any time to setup a roadmap kind of like what Ogre has.

Ogre annotated roadmap looks good, clear and easy to read.

Michael