Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

SQL Server 2008R2 international database

Hi,
      I have been tasked with adding international characters support to our database. The first language will be Polish but other non-ASCII languages are soon to come. I have been combing the web for best practices and found nothing. Our application is written in Java. What is the best way to go about adding multi-byte characters to our databases?
0
hnaylor4
Asked:
hnaylor4
  • 3
1 Solution
 
PortletPaulCommented:
You will need to routinely use nvarchar (instead of varchar) and you need to consider the collation I believe SQL_Latin1_General_CP1_CI_AS is the most widely used (certainly its the collation I've seen most used with java based applications).

What is the collation of the db now?
Are you using varchars (in tables and in sql code)?
0
 
PortletPaulCommented:
oh, and allow more string length in fields too. For example if you have a field now that permits 100 chars (ascii) then that can be up to 3 times that length when using UTF8 (most noticed in my experience with asian languages).
0
 
PortletPaulCommented:
this Microsoft document is dated Jan 2008 and applies to sql 2005, but most of it should also be relevant to sql 2008:

http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/SQL_bestpract_MigrationToUnicode.docx
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now