473,721 Members | 2,224 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

which unicode encoding to use for saving ?


I am developing a website in english & chinese both language. whenever I
save, it required I set the encoding in advanced save options. But I found
there are 4 related to unicode, can anyone tell me what's the different and
which to choose ?

Unicode (UTF-8 without signature) - Codepage 65001
Unicode (UTF-8 with signature) - Codepage 65001
Unicode - Codepage 1200
Unicode (Big-Endian) - Codepage 1201

Nov 17 '05 #1
2 2627
"THY" wrote:

I am developing a website in english & chinese both language.
whenever I save, it required I set the encoding in advanced save
options. But I found there are 4 related to unicode, can anyone tell
me what's the different and which to choose ?

Unicode (UTF-8 without signature) - Codepage 65001
Unicode (UTF-8 with signature) - Codepage 65001
Unicode - Codepage 1200
Unicode (Big-Endian) - Codepage 1201

Check out this very nice article:


Joerg Jooss
jo*********@gmx .net
Nov 17 '05 #2
"Joerg Jooss" <jo*********@gm x.net> wrote in message
news:ep******** ******@TK2MSFTN GP12.phx.gbl...

Check out this very nice article:


That is, indeed, a very nice article. It does have one problem, however. It
implies that using UTF-8 for all web pages is an OK thing to do because most
browsers have UTF-8 support. This is true, but UTF-8 causes huge bloat in
the byte count for some languages. Chinese is a great example. In my opinion
page size still matters, and you can greatly optimize the page size in many
cases if you customize the encoding to match the primary language of the

For example, a typical block of Chinese text will take three times as much
space in UTF-8 as it will using Big5. Characters that don't exist in Big5
can be encoded as &# entities. Browsers that people use to read Chinese are
very likely to support Big5, so in my opinion you should use Big5 encoding
for Chinese pages. ASP.NET makes this very easy to do. This conserves
Internet bandwidth, saves space in proxy servers, saves space in your local
cache, reduces download times for those unfortunate modem and ISDN users,

In web pages there's going to be a lot of ASCII characters (HTML tags and so
forth) mixed in with the Chinese, so your actual savings will be less than
3-to-1, but for the bulk of Chinese content pages there will be a
significant savings. I'm just using Chinese as an example--pick any
non-European language and the result will likely be similar.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: | last post by:
The data file is a simple Unicode file with lines of text. BCP apparently doesn't guarantee this ordering, and neither does the import tool. I want to be able to load the data either sequentially or add line numbering to large Unicode file (1 million lines). I don't want to deal with another programming language if possible and I wonder if there's a trick in SQL Server to get this accomplished. Thanks for any help. Mark Leary
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
by: apprentice | last post by:
Hello, I'm writing an class library that I imagine people from different countries might be interested in using, so I'm considering what needs to be provided to support foreign languages, including asian languages (chinese, japanese, korean, etc). First of all, strings will be passed to my class methods, some of which based on the language (and on the encoding) might contain characters that require more that a single byte.
by: ravan1234 | last post by:
Hello Guys, I am having some problem with Unicode string in KATAKANA format. I am decoding string and then storing in db (SYbase). Also while retrieving data I am encoding and then displaying. Source Encoding is jp_shift Target Encoding is 932. But the data get stores in ???? format.
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.