PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Convetr from utf
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Convetr from utf
![]() |
Convetr from utf |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi I am trouble with converting from one encoding to second . How I convert
string in utf to 1250 ? I have string in the utf and the database want 1250 . If I insert the string to database the string is bad ... |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Marek G <MarekG@discussions.microsoft.com> wrote:
> Hi I am trouble with converting from one encoding to second . How I convert > string in utf to 1250 ? I have string in the utf and the database want 1250 . > If I insert the string to database the string is bad ... The string itself is always in Unicode. If the database wants CP1250, the driver should be encoding it. See http://www.pobox.com/~skeet/csharp/...ingunicode.html -- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
|
|
|
#3 |
|
Guest
Posts: n/a
|
driver is ado.net from nexusdb ...
"Jon Skeet [C# MVP]" wrote: > Marek G <MarekG@discussions.microsoft.com> wrote: > > Hi I am trouble with converting from one encoding to second . How I convert > > string in utf to 1250 ? I have string in the utf and the database want 1250 . > > If I insert the string to database the string is bad ... > > The string itself is always in Unicode. If the database wants CP1250, > the driver should be encoding it. > > See http://www.pobox.com/~skeet/csharp/...ingunicode.html > > -- > Jon Skeet - <skeet@pobox.com> > http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet > If replying to the group, please do not mail me too > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
And I have trouble with this after read ....
"Jon Skeet [C# MVP]" wrote: > Marek G <MarekG@discussions.microsoft.com> wrote: > > Hi I am trouble with converting from one encoding to second . How I convert > > string in utf to 1250 ? I have string in the utf and the database want 1250 . > > If I insert the string to database the string is bad ... > > The string itself is always in Unicode. If the database wants CP1250, > the driver should be encoding it. > > See http://www.pobox.com/~skeet/csharp/...ingunicode.html > > -- > Jon Skeet - <skeet@pobox.com> > http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet > If replying to the group, please do not mail me too > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Marek G <MarekG@discussions.microsoft.com> wrote:
> And I have trouble with this after read .... Have you followed the steps in the link I referred to? Do you have a short but complete program that demonstrates the problem? -- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
|
|
|
#6 |
|
Guest
Posts: n/a
|
In the code I have :
"FĂš ÄŚeská LĂ*pa - ved. Ĺ™editel",but in the database is F? ?esk? L?pa - prac. ?editel "Jon Skeet [C# MVP]" wrote: > Marek G <MarekG@discussions.microsoft.com> wrote: > > And I have trouble with this after read .... > > Have you followed the steps in the link I referred to? Do you have a > short but complete program that demonstrates the problem? > > -- > Jon Skeet - <skeet@pobox.com> > http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet > If replying to the group, please do not mail me too > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Marek G <MarekG@discussions.microsoft.com> wrote:
> In the code I have : > "F? ?esk? L?pa - ved. ?editel",but in the database is > F? ?esk? L?pa - prac. ?editel Sorry, I'm not sure which of my questions that was an answer to. (It also doesn't help that Usenet doesn't carry Unicode very well - it would help if you'd give the hex value for each of the Unicode characters you're interested in.) -- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

