Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
QuestionShould I create a Dll? Pin
Anonymous3-May-05 8:27
Anonymous3-May-05 8:27 
AnswerRe: Should I create a Dll? Pin
Anonymous3-May-05 10:17
Anonymous3-May-05 10:17 
GeneralRe: Should I create a Dll? Pin
Anonymous3-May-05 10:44
Anonymous3-May-05 10:44 
GeneralRe: Should I create a Dll? Pin
DavidNohejl3-May-05 11:05
DavidNohejl3-May-05 11:05 
GeneralDLL Config File Pin
jklucker3-May-05 7:53
jklucker3-May-05 7:53 
GeneralRe: DLL Config File Pin
Dave Kreskowiak3-May-05 8:46
mveDave Kreskowiak3-May-05 8:46 
GeneralRe: DLL Config File Pin
jklucker3-May-05 8:54
jklucker3-May-05 8:54 
GeneralRe: DLL Config File Pin
DavidNohejl3-May-05 11:19
DavidNohejl3-May-05 11:19 
GeneralRe: DLL Config File Pin
jklucker4-May-05 16:16
jklucker4-May-05 16:16 
GeneralGames and depth of objects - help =) Pin
Anthony Mushrow3-May-05 7:44
professionalAnthony Mushrow3-May-05 7:44 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 8:13
sponsorJudah Gabriel Himango3-May-05 8:13 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 8:40
professionalAnthony Mushrow3-May-05 8:40 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 10:35
sponsorJudah Gabriel Himango3-May-05 10:35 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 20:46
professionalAnthony Mushrow3-May-05 20:46 
GeneralRe: Games and depth of objects - help =) Pin
Anonymous3-May-05 8:30
Anonymous3-May-05 8:30 
GeneralPiping data when using Process class Pin
CTaylor893-May-05 7:41
CTaylor893-May-05 7:41 
GeneralRe: Piping data when using Process class Pin
CTaylor893-May-05 11:48
CTaylor893-May-05 11:48 
GeneralKeep additional information inside a "serial number" Pin
eclipse2k13-May-05 7:33
eclipse2k13-May-05 7:33 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind3-May-05 23:36
mav.northwind3-May-05 23:36 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 1:57
eclipse2k14-May-05 1:57 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind4-May-05 3:24
mav.northwind4-May-05 3:24 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 3:43
eclipse2k14-May-05 3:43 
GeneralStrip Non-Numeric characters from string Pin
RadioButton3-May-05 7:20
RadioButton3-May-05 7:20 
GeneralRe: Strip Non-Numeric characters from string Pin
Judah Gabriel Himango3-May-05 8:27
sponsorJudah Gabriel Himango3-May-05 8:27 
GeneralRichTextControl and Unicode problems with russian characters Pin
Uwe Keim3-May-05 6:40
sitebuilderUwe Keim3-May-05 6:40 
Currently I'm facing problems displaying Unicode russian characters in RichTextBox controls in .NET 1.1 Windows Forms on a German Windows 2000 (Although normal TextBox controls correctly display russian characters).

When I use this code:

byte[] rawBytes = Encoding.Default.GetBytes( rawRtf );
using ( MemoryStream ms = new MemoryStream( rawBytes ) )
{
    this.LoadFile( ms, RichTextBoxStreamType.RichText );
}
The output looks like this: rtf-unicode-russian-01.gif (2.6 Kb)

And when I use this code:

byte[] rawBytes = Encoding.Unicode.GetBytes( rawRtf );
using ( MemoryStream ms = new MemoryStream( rawBytes ) )
{
    this.LoadFile( ms, RichTextBoxStreamType.UnicodePlainText );
}
The output looks like this: rtf-unicode-russian-02.gif (2.6 Kb)

So once it correctly displays the Unicode characters but literally outputs the RTF-formattings and one time it does the other way.

Question:
Can anyone explain whether it is possible to combine RTF text and Unicode characters at the same time?

Thanks
Uwe Big Grin | :-D

--
Affordable Windows-based CMS for only 99 €: try www.zeta-producer.com for free!


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.