English 中文(简体)
未正确显示的字符
原标题:Characters not shown properly Visual Studio

我在PhpMyAdmin建立了一个数据库,并在2010 C#视觉工作室开发了一个应用程序。

当我在 PhpMyAdmin 中添加新行时, 特殊字符会正确显示在视觉工作室中, 但当我在视觉工作室的数据格状视图中添加此字符时, 表格中没有正确显示字符 č、 ć 和 đ 。

提前感谢您

最佳回答

<强度 > 溶解问题: 添加到连接中 < 强度 > charasset=utf8

connectionString="..... ;Default Command Timeout=300000; charset=utf8;"

说到这里:)

问题回答

数据库的整理可能错误地设置为对口音不敏感。 这应该有助于: < a href="https://stackoverflow.com/ questions/ 2977238/latin- chainacters- in- phpmyadmin- with- utf- 8- colation > 拉丁字符, 带有 UTF-8 校验 的 phpMyAdmin 和 UTF-8 校验的拉丁字符





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签