Search found 150 matches
- Tue Dec 20, 2005 9:59 pm
- Forum: C++ Development
- Topic: Illegal byte sequence's error on strings in Unicode
- Replies: 2
- Views: 2220
Hi ioio, When gcc is parsing your source code it does so assuming a certain charset for the string and character constants in the source code. In the current charset used by gcc ( I think it is UTF-8 ) it expects the special characters to be in Unicode, but your chars are in another charset (probabl...
- Tue Dec 13, 2005 2:33 pm
- Forum: C++ Development
- Topic: Conversion to UTF8 multibyte
- Replies: 4
- Views: 2127
Thanks for your reply jb_coder. Once I figured out I'm working on a temporary buffer it was clear how to continue from there. A shame that I missed that passage from the docs, thought I read them carefully for sure :wink: I'll give you the Accepted Answer points because leio already sits on a load o...
- Tue Dec 13, 2005 10:35 am
- Forum: C++ Development
- Topic: Conversion to UTF8 multibyte
- Replies: 4
- Views: 2127
Hi leio, Thanks for your reply. This is essentially what I was doing (though without the explict call to c_str()), but unfortunately still doesn't work when used as a function. Using the macros you posted everything is fine. The problem seems to be that a wxCharBuffer is returned by wxConvUTF8. That...
- Sun Dec 11, 2005 1:16 pm
- Forum: C++ Development
- Topic: Conversion to UTF8 multibyte
- Replies: 4
- Views: 2127
Conversion to UTF8 multibyte
Hi all, I need to convert a wxString to UTF8 multibyte regardless the input encoding/the way wx was compiled (Unicode or ANSI mode) and vice versa. Having tried several things that all failed I really need someone holding my hand with this. :wink: The last try looks like this: const char * wxStringT...
- Sun Dec 04, 2005 5:03 pm
- Forum: Platform Related Issues
- Topic: Centering a wxGrid on a wxFlexGridSizer
- Replies: 0
- Views: 602
Centering a wxGrid on a wxFlexGridSizer
Hi all, I'm not sure if this belongs to "platform related", but I experience different behaviour on Windows and Linux, therefore I'll post this here. I've got some troubles with centering a wxGrid in a wxFlexGridSizer. The code fragment below successfully centers the grid with wxGTK 2.6.2,...
- Wed Nov 30, 2005 11:03 pm
- Forum: Compiler / Linking / IDE Related
- Topic: gcc 4.2 Installation Help
- Replies: 18
- Views: 3276
- Wed Nov 30, 2005 5:52 pm
- Forum: Compiler / Linking / IDE Related
- Topic: gcc 4.2 Installation Help
- Replies: 18
- Views: 3276
If you are really that keen on being 'bleeding edge' with your software versions, you may want to try a different distribution like Debian Unstable . Be warned, though. Debian Unstable might be, well, unstable. Debian uses Apt as package manager, by the way. Upgrading consist of not more than a simp...
- Wed Nov 23, 2005 11:37 am
- Forum: C++ Development
- Topic: msgfmt not able to handle CR??
- Replies: 2
- Views: 918
Re: msgfmt not able to handle CR??
Hi,
Chris
Did you try write that in a single line likesdp wrote: STRTABLE{
/* FIRST_STRING*/ _("display this is line 1.\n\n\
display this in line2")
}
?STRTABLE{
/* FIRST_STRING*/ _("display this is line 1.\n\ndisplay this in line2")
}
Chris
- Tue Nov 22, 2005 10:06 am
- Forum: Compiler / Linking / IDE Related
- Topic: How to make executable for WinXP?
- Replies: 14
- Views: 2696
Hi, this seems to be triggered by a corrupted Manifest file. It's not very clear how this can happen, so I'm afraid I can be of any specific help here. You may want to try generating a new Manifest and hope the error goes away then. HTH, Chris P.S.: See http://msdn.microsoft.com/library/default.asp?...
- Thu Nov 17, 2005 10:45 pm
- Forum: C++ Development
- Topic: wxMessageBox and unwanted icons -- bug?
- Replies: 3
- Views: 1890
- Tue Nov 08, 2005 10:09 am
- Forum: Platform Related Issues
- Topic: wxTextCtrl unexpected scoll
- Replies: 4
- Views: 1496
Hi,
that bug has been reported for nearly three years:
http://sourceforge.net/tracker/index.ph ... tid=109863.
I've been running into this, too. The suggested ScrollLines(-1) workaround doesn't work for me neither.
Chris
that bug has been reported for nearly three years:
http://sourceforge.net/tracker/index.ph ... tid=109863.
I've been running into this, too. The suggested ScrollLines(-1) workaround doesn't work for me neither.
Chris
- Fri Nov 04, 2005 2:29 pm
- Forum: C++ Development
- Topic: destruction of sub-class
- Replies: 4
- Views: 1879
- Fri Nov 04, 2005 1:55 pm
- Forum: C++ Development
- Topic: Problems executing an application on win32 compiled unicode
- Replies: 7
- Views: 5095
Hi, the above example runs fine with wxMSW 2.6.2 (Unicode) and Visual C++ 7.1. I'm using Unicode in some projects (on Windows and Linux) and never experienced problems related to Unicode. I don't have an Unicode enabled wx for MinGW ready (and am too lazy to build one), sorry. A few thoughts: Projec...
- Tue Nov 01, 2005 9:44 pm
- Forum: C++ Development
- Topic: f12-Bug in wxWidgets?
- Replies: 12
- Views: 4228
- Tue Nov 01, 2005 6:35 pm
- Forum: C++ Development
- Topic: f12-Bug in wxWidgets?
- Replies: 12
- Views: 4228