jcasbeer / aseisql

Automatically exported from code.google.com/p/aseisql
0 stars 0 forks source link

The option "Change case" does not work with accents. editor #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The option "Change case" does not work with accents.

/*

áéíóú

àèìòù

*/

Original issue reported on code.google.com by zluis0@gmail.com on 10 Oct 2009 at 8:42

GoogleCodeExporter commented 9 years ago
where are you from ? France?

Original comment by daggett....@gmail.com on 10 Oct 2009 at 8:52

GoogleCodeExporter commented 9 years ago

Original comment by daggett....@gmail.com on 10 Oct 2009 at 9:00

GoogleCodeExporter commented 9 years ago

I'm from México!

Original comment by zluis0@gmail.com on 10 Oct 2009 at 9:00

GoogleCodeExporter commented 9 years ago
I only occupy these accents (áéíóú), but better than this fixed for 
everyone.

Original comment by zluis0@gmail.com on 10 Oct 2009 at 9:03

GoogleCodeExporter commented 9 years ago
Where are you from?, Ukraine?

Original comment by zluis0@gmail.com on 10 Oct 2009 at 9:08

GoogleCodeExporter commented 9 years ago
yes. Ukraine.
--
I'll check this.

Original comment by daggett....@gmail.com on 10 Oct 2009 at 9:31

GoogleCodeExporter commented 9 years ago
I just checked the code of the scintilla (the colored editor) and code for 
uppercase is:

static inline char MakeUpperCase(char ch) {
    if (ch < 'a' || ch > 'z')
        return ch;
    else
        return static_cast<char>(ch - 'a' + 'A');
}

it is working in UTF-8. 
there should be some library used for case conversion?

Original comment by daggett....@gmail.com on 11 Oct 2009 at 8:57

GoogleCodeExporter commented 9 years ago
"UTF-8" works with accents?

Original comment by zluis0@gmail.com on 11 Oct 2009 at 9:23

GoogleCodeExporter commented 9 years ago
I think this is the function: 

void Editor::ChangeCaseOfSelection(bool makeUpperCase)

Original comment by zluis0@gmail.com on 11 Oct 2009 at 10:43

GoogleCodeExporter commented 9 years ago
fixed in revision #156

Original comment by daggett....@gmail.com on 12 Oct 2009 at 6:03

GoogleCodeExporter commented 9 years ago
fixed in revision #156

Original comment by daggett....@gmail.com on 12 Oct 2009 at 6:03