Signal hat we don't output an ANSI representation for Unicode characters in RTF.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20565 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2005-01-16 15:54:04 +00:00
parent e8edab4d25
commit b6642a182a
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-01-16 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/RTFProducer.m (-_stringWithRTFCharacters:):
Output "\uc0" so that other applications know we don't write ANSI
representations of Unicode characters.
2005-01-16 Fred Kiefer <FredKiefer@gmx.de>
* Printing/GSCUPS/GSCUPSPrinter.m (+printerNames): Add dummy

View file

@ -724,7 +724,10 @@
[string getCharacters: buffer];
resultData = [[NSMutableData alloc]
initWithCapacity: (int)(length * 1.2)];
// We don't supply an ANSI representation for Unicode characters
[resultData appendBytes: "\\uc0 " length: 5];
for (i = 0; i < length; i++)
{
unichar c;