hum... Well, Turkish is not an ISO LANGUAGE?  Your community, perhaps
must claim or protest with ISO or with ECMA body of standards, that not
specify correctly your language.

http://stackoverflow.com/questions/9611247/specifying-a-character-encoding-for-javascript/9611400#9611400
<http://stackoverflow.com/questions/9611247/specifying-a-character-encoding-for-javascript/9611400#9611400>

http://stackoverflow.com/questions/1850232/turkish-case-conversion-in-javascript




2013/8/28 Peter Padua Krauss <ppkrauss@gmail.com>

> I think is something wrong in your locale setings, else we can create a
> new question.... See
>
>
> http://stackoverflow.com/questions/14548166/how-to-set-locale-in-javascript-for-example-for-tolocaleuppercase
>
> ... send to me the URL of a webpage that must be set to TR locale.
>
>
>
> 2013/8/28 Önder Ceylan <notifications@github.com>
>
>> In plugin.js:
>>
>> >                          if (selection.getSelectedText().length > 0) {
>> > -
>> > -                            if (editor.langCode == "tr") {
>> > -                                editor.insertHtml(selection.getSelectedText().trToUpperCase());
>> > -                            } else {
>> > -                                editor.insertHtml(selection.getSelectedText().toUpperCase());
>> > -                            }
>> > -
>> > -                        }
>> > -                    }
>> > +				var ranges = selection.getRanges(),
>> > +				    walker = new CKEDITOR.dom.walker( ranges[0] ),
>> > +				    node;
>> > +				while ( ( node = walker.next() ) )
>> > +					if ( node.type == CKEDITOR.NODE_TEXT && node.getText() )
>> > +						node.$.textContent = node.$.textContent.toLocaleUpperCase();
>>
>> Hi Peter, I have tested and merged your changes. Thank you very much for
>> your contribution.
>> I have modified your changes to suit the needs of Turkish community.
>>
>> The "i" character has issues with toLocale*** methods. If you transform
>> it to uppercase it becomes "I" which is wrong. The right equivalent is "İ".
>> This is same for vice versa. The capital "I" should be transformed to "ı".
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/onderceylan/ckeditor-texttransform-plugin/pull/3/files#r6044531>
>> .
>>
>
>