Rename Local Variable problem
Posted: Mon Oct 01, 2012 12:53 am
Rename Local Variable not working ("No matches were found" message) at files with multibytes symbols in comments, like this:
I think problem in wxString::mb_str(wxConvUTF8), cause char 'Я' is 2 bytes length char in UTF8, but mb_str(wxConvUTF8) returns this char like 4 bytes length char.
So in file cppwordscanner, line 243 we got wrong convertion, sooo method IsOK returns wxNOT_FOUND;
As fast solution I made hack in my local build:
Code: Select all
int main(int argc, char **argv)
{
//Я
int x = 0;
return 0;
}
So in file cppwordscanner, line 243 we got wrong convertion, sooo method IsOK returns wxNOT_FOUND;
As fast solution I made hack in my local build:
Code: Select all
bitmap->text = m_text.mb_str(wxConvISO8859_1).data();