Bugs item #1482535, was opened at 2006-05-05 17:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1482535&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scintilla
Group: Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: DV__ (dv__)
Assigned to: Nobody/Anonymous (nobody)
Summary: totally unusable UNICODE

Initial Comment:
Hi there.

Scintilla is a great thing, but... I can't believe in 
it - don't you guys know there are many other languages 
except English? Well, I can understand function

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

which works with latin characters only. It can be fixed 
very fast by replacing with a function which supports 
locales.

But tell me what is this, for example:

  bool Document::InsertChar(int pos, char ch) {
    char chs[2];
    chs[0] = ch;
    chs[1] = 0; // <- why always zero?
    return InsertStyledString(pos*2, chs, 2);
  }

????

It is totally unusable for languages with non-latin 
characters. Almost all Scintilla's UNICODE operations 
are totally unusable for all languages with non-latin 
characters. When I use SCI_GETCHARAT, I see all kinds 
of garbage instead of existing character. Also I can't 
find anything, I can't replace anything. Why??

 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1482535&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to