بازگشت   پی سی سیتی > کامپیوتر اینترنت و شبکه Computer internet > سیستم عامل > ویندوز windows > مقالات آموزش ترفندها... Traning > مقایسه ها > برنامه های کاربردی

پاسخ
 
ابزارهای موضوع نحوه نمایش
  #1  
قدیمی 05-09-2013
DifferenceBetween آواتار ها
DifferenceBetween DifferenceBetween آنلاین نیست.
ربات اتوماتیک
 
تاریخ عضویت: May 2013
نوشته ها: 108
سپاسها: : 0

0 سپاس در 0 نوشته ایشان در یکماه اخیر
پیش فرض مقایسه تفاوت های Difference Between ANSI and ASCII

مقایسه تفاوت های Difference Between ANSI and ASCII

ANSI and ASCII are two very old character encoding schemes or basically just ways to represent different characters in a digital format. Because of how old the two are, many confuse the two with each other. The main difference between ANSI and ASCII is the number of characters they can represent. ASCII was the first to be developed and when its limitations were reached, ANSI was one of the ways created to expand the number of characters that can be represented in an encoding.

When ASCII was created, it only used 7 bits for a total maximum combination of 128 characters. It was created for the English language and it proved good enough to hold all the letters, numbers, special characters and symbols, as well as non-printed characters.  In ANSI, 8 bits are used; increasing the maximum number of characters to be represented up to 256. This is expanded even further because of how ANSI uses code pages with different character sets. There are a number of ANSI code pages that are meant for other languages like Japanese, Chinese, and many others. The application processing the file just needs to know which code page is in use in order to decipher the files properly.

Even though ANSI seems to be the more superior among the two, there are also downsides to using it. The most major is in ensuring that the files it encoded can be reproduced accurately in different computers. Having the correct ANSI code page on the target computer is crucial in order for this to happen. This is not a major issue if the file would be opened in the same country because there is a high probability that they share the same code pages. But when the file is transmitted halfway around the world, like from Japan to the US where the languages are different, problems can appear. ASCII doesn’t have this problem because it is the same wherever you are in the world.

Both ASCII and ANSI have been replaced by the more comprehensive Unicode. The main difference between ANSI and ASCII in this aspect is backwards compatibility. The first 128 characters of Unicode is a direct match to ASCII. Thus, you can open an ASCII encoded file in Unicode without any problem. This is not always the case with ANSI because of the way it uses different code pages.

Summary:

ANSI has more characters than ASCII

ASCII uses 7 bits while ANSI uses 8

ASCII characters are fixed to the code points while ANSI code points may represent different characters

ASCII is more straightforward to use than ANSI

ASCII works with Unicode while ANSI compatibility is very limited



You might also like…



پاسخ با نقل قول
جای تبلیغات شما اینجا خالیست با ما تماس بگیرید




پاسخ


کاربران در حال دیدن موضوع: 1 نفر (0 عضو و 1 مهمان)
 

مجوز های ارسال و ویرایش
شما نمیتوانید موضوع جدیدی ارسال کنید
شما امکان ارسال پاسخ را ندارید
شما نمیتوانید فایل پیوست در پست خود ضمیمه کنید
شما نمیتوانید پست های خود را ویرایش کنید

BB code is فعال
شکلک ها فعال است
کد [IMG] فعال است
اچ تی ام ال غیر فعال می باشد



اکنون ساعت 07:37 PM برپایه ساعت جهانی (GMT - گرینویچ) +3.5 می باشد.



Powered by vBulletin® Version 3.8.4 Copyright , Jelsoft Enterprices مدیریت توسط کورش نعلینی
استفاده از مطالب پی سی سیتی بدون ذکر منبع هم پیگرد قانونی ندارد!! (این دیگه به انصاف خودتونه !!)
(اگر مطلبی از شما در سایت ما بدون ذکر نامتان استفاده شده مارا خبر کنید تا آنرا اصلاح کنیم)


سایت دبیرستان وابسته به دانشگاه رازی کرمانشاه: کلیک کنید




  پیدا کردن مطالب قبلی سایت توسط گوگل برای جلوگیری از ارسال تکراری آنها