View Full Version : سوال: چرا کد اسکی ...؟(تا آخر امشب وقت دارم)
mmohammadi1391
یک شنبه 29 بهمن 1391, 19:40 عصر
با سلام.
چرا کد اسکی A عدد 65 است و کد اسکی a عدد 91 است؟ (تا آخر امشب وقت دارم:ناراحت:)
با تشکر.
maktoom
یک شنبه 29 بهمن 1391, 20:06 عصر
سلام
The code itself was patterned so that most control codes were together, and all graphic codes were together, for ease of identification. The first two columns (32 positions) were reserved for control characters.[18]} The "space" character had to come before graphics to make sorting easier, so it became position 20hex;[19] for the same reason, many special signs commonly used as separators were placed before digits. The committee decided it was important to support upper case 64-character alphabets, and chose to pattern ASCII so it could be reduced easily to a usable 64-character set of graphic codes.[20] Lower case letters were therefore not interleaved with upper case. To keep options available for lower case letters and other graphics, the special and numeric codes were arranged before the letters, and the letter "A" was placed in position 41hex to match the draft of the corresponding British standard.[21] The digits 0–9 were arranged so they correspond to values in binary prefixed with 011, making conversion with binary-coded decimal straightforward.
این متن رو از ویکی پدیا گرفتم. به این قسمتش دقت کنید:
Lower case letters were therefore not interleaved with upper case. To keep options available for lower case letters and other graphics, the special and numeric codes were arranged before the letters, and the letter "A" was placed in position 41hex to match the draft of the corresponding British standard
mmohammadi1391
یک شنبه 29 بهمن 1391, 20:42 عصر
خیلی خیلی از راهنمایی خوبتون ممنونم.
من معنیش کردم اما قسمتی که پررنگ کردید رو درست مفهومش رو نفهمیدم. میشه شما بگید؟
با تشکر.
maktoom
یک شنبه 29 بهمن 1391, 20:47 عصر
میگه اینا رو گذاشته واسه بقیه کاراکترای کوچیک و کاراکترای گرافیکی و کدهای خاص مربوط به اعداد. همچنین حروف بزرگ رو بخاطر هماهنگی با استاندارد بریتانیایی ازونجا شروع کرده.
mmohammadi1391
یک شنبه 29 بهمن 1391, 21:23 عصر
میگه اینا رو گذاشته واسه بقیه کاراکترای کوچیک و کاراکترای گرافیکی و کدهای خاص مربوط به اعداد. همچنین حروف بزرگ رو بخاطر هماهنگی با استاندارد بریتانیایی ازونجا شروع کرده.
دوست عزیز از راهنماییون بسیار ممنونم.
اینجا که گفتی "اینا رو گذاشته واسه بقیه کاراکترای کوچیک و ..." منظورت از "اینا" چیه؟
اینجا که گفتی "حروف بزرگ رو بخاطر هماهنگی با استاندارد بریتانیایی ازونجا شروع کرده" منظورت از "از اونجا" کجاست؟
خیلی ببخشید من ترجمم خوب نیست. یعنی خیلی بد ترجمه می کنم.
باز هم از راهنمایی خوبت تشکر می کنم.
maktoom
یک شنبه 29 بهمن 1391, 22:40 عصر
اینجا و اونجا: دقیقا همون جاهایی که توی جدول کد اسکی قرار گرفتن. برای طراحان شاید خیلی مهم نبوده که کاراکتر چیه. بیشتر مهم بوده نظم کارشون حفظ بشه و قابل تطابق با استانداردهای از پیش پذیرفته شده هم باشه.
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.