Print Page | Close Window

Polish characters

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29521
Printed Date: 01 April 2026 at 7:26am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Polish characters
Posted By: Gullanian
Subject: Polish characters
Date Posted: 10 July 2011 at 1:26pm
One of my users is complaining they can't use Polish Chars in PM's:

http://www.scirra.com/forum/request-polish-language-letters-polacy-piszta_topic43467.html" rel="nofollow - http://www.scirra.com/forum/request-polish-language-letters-polacy-piszta_topic43467.html

Quote Suprising enough my PM when recived has question mark instead of every polish letters which made my PM virtualy imposible to read.

Is this to do with the charset?  Anything I can do to easily resolve this?



Replies:
Posted By: Gullanian
Date Posted: 12 July 2011 at 9:04pm
Figured it out in the end if anyone has the same issue, you need to change the data type of PM_Message in tblPMMessage from Text to Nvarchar(MAX)


Posted By: WebWiz-Bruce
Date Posted: 13 July 2011 at 7:48am
You would need to change your page encoding to one that supports Polish. Using nvarchar(max) is not a good idea as it limits the number of characters to 4,000, doubles the storage size of your database, and would break items such as searches.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Gullanian
Date Posted: 13 July 2011 at 10:05am
Would ntext be a better option?  According to  http://msdn.microsoft.com/en-us/library/ms187993.aspx" rel="nofollow - http://msdn.microsoft.com/en-us/library/ms187993.aspx  text is non unicode so I have to take a unicode format to store them


Posted By: WebWiz-Bruce
Date Posted: 13 July 2011 at 10:19am
This would also break searches.

If the character encoding for your page supports the language then text data type will work fine.

Originally posted by Polish Polish wrote:

Jeśli kodowania znaków dla strony obsługuje język potem tekst typu danych będzie działać prawidłowo


The above is the translation to Polish and this forum uses the default database schema using 'text' datatype and UTF-8 page encoding. The collation for the SQL Server database uses Latin1_General_Cl_AS


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net