Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
GeneralSelf Extracting File Pin
Varun Jain 7865-Aug-05 23:46
Varun Jain 7865-Aug-05 23:46 
GeneralRe: Self Extracting File Pin
Vasudevan Deepak Kumar6-Aug-05 0:56
Vasudevan Deepak Kumar6-Aug-05 0:56 
GeneralRe: Self Extracting File Pin
Varun Jain 7867-Aug-05 23:00
Varun Jain 7867-Aug-05 23:00 
GeneralRe: Self Extracting File Pin
Vasudevan Deepak Kumar7-Aug-05 23:09
Vasudevan Deepak Kumar7-Aug-05 23:09 
GeneralRe: Self Extracting File Pin
Varun Jain 7868-Aug-05 3:43
Varun Jain 7868-Aug-05 3:43 
GeneralSelf Extracting file Pin
Anonymous5-Aug-05 21:53
Anonymous5-Aug-05 21:53 
GeneralEncodings problem Pin
AnonymousTwo5-Aug-05 21:16
AnonymousTwo5-Aug-05 21:16 
AnswerRe: Encodings problem Pin
Heath Stewart5-Aug-05 22:21
protectorHeath Stewart5-Aug-05 22:21 
Without seeing some of your code - specially the code to construct the reader - it's difficult to say for sure what the problem is.

You do need to set the encoding of the TextReader, though:
Encoding enc = Encoding.GetEncoding(1251); // Cyrillic
using (TextReader reader = new StreamReader(path, enc, true))
{
  // Strings are stored in Unicode in the CLR so encoding
  // isn't a problem here since the characters have already
  // been decoded.
  string content = reader.ReadToEnd();
 
  // Proceed with your regular expressions.
}
If you're having trouble entering Cyrillic text in your regular expressions, use the \uXXXX notation in C# to enter the Unicode code point, like \u0041 is "A".

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
QuestionAssembly with strong name - can it be decompiled and recompiled? Pin
Anonymous5-Aug-05 20:53
Anonymous5-Aug-05 20:53 
AnswerRe: Assembly with strong name - can it be decompiled and recompiled? Pin
mav.northwind5-Aug-05 21:24
mav.northwind5-Aug-05 21:24 
AnswerRe: Assembly with strong name - can it be decompiled and recompiled? Pin
Mohamad Al Husseiny5-Aug-05 21:30
Mohamad Al Husseiny5-Aug-05 21:30 
Generalremove selection of a listbox Pin
Anonymous5-Aug-05 20:21
Anonymous5-Aug-05 20:21 
GeneralCreating msn like alerts Pin
JXpert5-Aug-05 20:11
JXpert5-Aug-05 20:11 
GeneralRe: Creating msn like alerts Pin
Mohamad Al Husseiny5-Aug-05 21:39
Mohamad Al Husseiny5-Aug-05 21:39 
Question.net applications in .jpg files? Pin
Kir Birger5-Aug-05 19:14
Kir Birger5-Aug-05 19:14 
AnswerRe: .net applications in .jpg files? Pin
Guffa5-Aug-05 22:57
Guffa5-Aug-05 22:57 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger6-Aug-05 10:24
Kir Birger6-Aug-05 10:24 
GeneralRe: .net applications in .jpg files? Pin
Guffa6-Aug-05 23:15
Guffa6-Aug-05 23:15 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger7-Aug-05 4:31
Kir Birger7-Aug-05 4:31 
GeneralRe: .net applications in .jpg files? Pin
Guffa7-Aug-05 20:48
Guffa7-Aug-05 20:48 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger8-Aug-05 6:50
Kir Birger8-Aug-05 6:50 
GeneralRe: .net applications in .jpg files? Pin
Guffa8-Aug-05 22:59
Guffa8-Aug-05 22:59 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger9-Aug-05 2:55
Kir Birger9-Aug-05 2:55 
GeneralRe: .net applications in .jpg files? Pin
DavidNohejl7-Aug-05 4:37
DavidNohejl7-Aug-05 4:37 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger8-Aug-05 6:52
Kir Birger8-Aug-05 6:52 

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.