On Friday, 17 October 2014 at 15:57:36 UTC, Jacob Carlborg wrote:
On 2014-10-17 07:24, Sergey wrote:

Or if I already have a byte string in cp1251 how to translate it into a
normal string?

Doesn't Sql Server uses UC2?

I finished two functions: utf8 -> sp1251 and sp1251 -> utf8, and it works well for me.

What about the date format?
I am getting from the sql server with the date field with this value:
Jan 22 2007 12:00:00:000AM

And it is the same on .d program and in .c program. Unfortunately, while I could not find how to change the date format in the example: DD.MM.YYYY.

Reply via email to