Jump to content
Sign in to follow this  
BETEP/macs509

Запись русскоязычного текста в бд

Recommended Posts

В ms sql сортировка SQL_Latin1_General_CP1_CI_AS каким способом можно методами php записать в бд русскоязычный текст (вручную записывается) а так же извлекается php корректно, а вот записать корректно не получается, пробывал отсылать в различных cp-1251 utf-8 Cp 866 gbk. Через другие среды помимо php можно занести с ключом N, но php не воспринимает его. 

Share this post


Link to post
Share on other sites

Я то проблему уже решил внося в бд английский текст а потом считывая значение в php и конвертируя в нужные русские слова. Но просто хотелось бы узнать, метод не меняя сортировки.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...