Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Unicode conversion (attention all devs)
rickg22:
--- Quote from: tiwag on August 05, 2005, 08:10:13 am ---You should TAG the current VERSION_1_0 branch in cvs before committing any unicode updates.
--- End quote ---
I did :-) thanks for the suggestion.
tiwag:
--- Quote from: rickg22 on August 05, 2005, 03:47:40 pm ---Oh yes, I searched the source code ant it appears there are no "char" types defined in the project, all are wxChar's (that's a good thing :) ).
--- End quote ---
sorry rick, but i think you need a better search tool ! i've found 980 occurrences of "char"
not all of them are "hits" but a lot of them are !
my search results are attached
[attachment deleted by admin]
rickg22:
Oops :oops: my mistake. I had only searched the groups i was fixing ^^;
You're right. ALL char references MUST be converted to wxChar's, UNLESS they're sent as parameters to non-unicode-supporting functions (like tinyxml or something).
Update: It appears cbeditor.cpp uses byte buffers for reading and saving files. ARGH! It's the one that relies HEAVILY on wxStyledTtextControl! I say we leave cbEditor FOR THE END.
I see a problem with ASBeautifier. It seems to need a full conversion :-S
Someone contact the guys and tell 'em about it.
byo:
One question - if wxStrring is used as a param inside printf-like function should it be converted using c_str() or mb_str() ?
Example:
--- Code: ---tmpkey.Printf(_T("%s/editor/keywords/%d"), key.c_str(), i);
--- End code ---
elvstone:
Hi Code::Blocks developers!
I'm using a Unicode build of wx 2.6.x on top of FreeBSD on my machine, and I'm looking forward to trying to get C::B running on it. When do you think I can expect the Unicode fixes discussed in this topic to hit CVS? I'm eager to check out and start testing C::B and maybe help out if there's lot of Unicode fixes left to be made. I've developed Unicode enabled wx applications before, and know about the issues involved. Just finished a non-programming project at work, and as a result I have some free summer time that I'd be glad to spend on getting a promising IDE running on my favourite OS. Any of the groups described by Rick still not assigned to anyone?
Best regards,
Aron Stansvik
Edit: Oh right. You don't happen to have an IRC channel somewhere?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version