title: What could cause a "richedit line insertion error" in C++Builder when inserting text in a different language?
body: <p>I have a C++Builder application using a TRichText control that has to display a report, running under Windows XP. The application was written in English but has been adapted to use other languages. Creating text on the TRichEdit (using the RichEdit->Lines->Add() function) is no problem as long as I am using Western languages. When I'm trying to add Russian (Cyrillic) text however the application throws an EOutOfResources exception with the "RichEdit line insertion error". Now this exception is usually thrown when the amount of text exceeds the RichEdit internal buffer (64KB) but that is certainly not the case and even adding one character fails.<br>
  It is not a unicode application so I have to switch codepages to see the application in Cyrillic.And then I can see all other texts (like menus and labels) are displayed correct.<br>
  So what else could cause this error ? </p>