Click here to Skip to main content
15,908,768 members
Home / Discussions / C#
   

C#

 
AnswerRe: IsCharUnicode Function [modified] Pin
lmoelleb7-Jun-06 1:40
lmoelleb7-Jun-06 1:40 
Here is the implementation for you:

bool IsCharUnicode(char c)
{
return true;
}

Smile | :)

Any string is Unicode in C#. The database access layer must transform the string to or from Unicode (except any decent database would use Unicode anyway) - it is not your problem.

If it fails, then it is broken. If you have to live with a broken access layer you might use the encoding classes to go from the broken string representation back to bytes, and then another encoding to get the correct string. This will only work if the database access layer converts it using an encoding where every byte sequence can be matched to a single string (for example codepage 1252). Yes, I know this is not clearly written, but it will have to do. Smile | :)
GeneralRe: IsCharUnicode Function [modified] Pin
Tristan Rhodes7-Jun-06 4:19
Tristan Rhodes7-Jun-06 4:19 
GeneralRe: IsCharUnicode Function [modified] Pin
lmoelleb7-Jun-06 5:10
lmoelleb7-Jun-06 5:10 
GeneralRe: IsCharUnicode Function [modified] Pin
Tristan Rhodes7-Jun-06 5:45
Tristan Rhodes7-Jun-06 5:45 
QuestionBest way to integrate windows messenger functionality to an application Pin
spAAwn6-Jun-06 23:26
spAAwn6-Jun-06 23:26 
AnswerRe: Best way to integrate windows messenger functionality to an application Pin
spAAwn7-Jun-06 22:11
spAAwn7-Jun-06 22:11 
QuestionFind a Folder in a 3rd party FolderDialog??? Pin
suguimoto6-Jun-06 23:26
suguimoto6-Jun-06 23:26 
QuestionEncoding Problem Pin
malikjhangirahmed@hotmail.com6-Jun-06 22:57
malikjhangirahmed@hotmail.com6-Jun-06 22:57 
QuestionGDI+ To slow.. Pin
User 22614746-Jun-06 22:55
User 22614746-Jun-06 22:55 
QuestionChanging userControl properties run time?? Pin
Nafiseh Salmani6-Jun-06 22:42
Nafiseh Salmani6-Jun-06 22:42 
AnswerRe: Changing userControl run time?? [modified] Pin
Mairaaj Khan6-Jun-06 23:33
professionalMairaaj Khan6-Jun-06 23:33 
QuestionRe: Changing userControl run time?? [modified] Pin
Nafiseh Salmani7-Jun-06 0:31
Nafiseh Salmani7-Jun-06 0:31 
AnswerRe: Changing userControl run time?? [modified] Pin
Mairaaj Khan7-Jun-06 20:49
professionalMairaaj Khan7-Jun-06 20:49 
QuestionHandleCreated problem Pin
sianatia6-Jun-06 22:14
sianatia6-Jun-06 22:14 
AnswerRe: HandleCreated problem Pin
Mairaaj Khan6-Jun-06 23:27
professionalMairaaj Khan6-Jun-06 23:27 
QuestionXML encryption Pin
engsrini6-Jun-06 22:09
engsrini6-Jun-06 22:09 
QuestionRich Text Box Questions Pin
Peter Sbarski6-Jun-06 21:09
Peter Sbarski6-Jun-06 21:09 
AnswerRe: Rich Text Box Questions Pin
Mairaaj Khan6-Jun-06 21:50
professionalMairaaj Khan6-Jun-06 21:50 
QuestionUsing TripleDES Encryption [modified] Pin
cybersurferdev6-Jun-06 20:45
cybersurferdev6-Jun-06 20:45 
AnswerRe: Using TripleDES Encryption [modified] Pin
stancrm6-Jun-06 21:21
stancrm6-Jun-06 21:21 
GeneralRe: Using TripleDES Encryption [modified] Pin
cybersurferdev6-Jun-06 21:38
cybersurferdev6-Jun-06 21:38 
AnswerRe: Using TripleDES Encryption [modified] Pin
Kodanda Pani6-Jun-06 21:31
Kodanda Pani6-Jun-06 21:31 
GeneralRe: Using TripleDES Encryption [modified] Pin
cybersurferdev6-Jun-06 21:42
cybersurferdev6-Jun-06 21:42 
GeneralRe: Using TripleDES Encryption [modified] Pin
Kodanda Pani6-Jun-06 22:10
Kodanda Pani6-Jun-06 22:10 
GeneralRe: Using TripleDES Encryption [modified] Pin
cybersurferdev6-Jun-06 22:49
cybersurferdev6-Jun-06 22:49 

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.