What is UTF-8? UTF-8 Character Encoding Tutorial
文章推薦指數: 80 %
UTF-8 is a character encoding system. It lets you represent characters as ASCII text, while still allowing for international characters, ... Search Submityoursearchquery Forum Donate QuincyLarson UTF-8isacharacterencodingsystem.ItletsyourepresentcharactersasASCIItext,whilestillallowingforinternationalcharacters,suchasChinesecharacters.Asofthemid2020s,UTF-8isoneofthemostpopularencodingsystems.TostartusingUTF-8,youwillwanttofirstfamiliarizeyourselfwiththethebasicASCIIcharacterset.WhatistheASCIICharacterSet?ASCIIuses7-bitcodepointstorepresent128differentcharacters.Thesecodepointsaredividedinto95printablecharacters,whichincludethe26lettersoftheEnglishalphabet(AtoZ,bothupper-andlower-case),the10digits(0through9),andavarietyofpunctuationandothersymbols.Therearealso33non-printablecharacters,whichincludecontrolcharacterslikecarriagereturnandlinefeed,aswellasvariousothercharactersthatareusedforthingslikeformattingtext.UTF-8VSASCII–What'stheDifference?UTF-8extendstheASCIIcharactersettouse8-bitcodepoints,whichallowsforupto256differentcharacters.ThismeansthatUTF-8canrepresentalloftheprintableASCIIcharacters,aswellasthenon-printablecharacters.UTF-8alsoincludesavarietyofadditionalinternationalcharacters,suchasChinesecharactersandArabiccharacters.HowtoUseUTF-8inYourWebpages–HTMLUTF-8ExampleAndnowtheeasypart.Youdon'tactuallyneedtoknowhowitworks(thoughI'lltellyouinamoment.)YoucanconfigureUTF-8CharacterEncodinginyourHTMLcodewithasinglelineofHTMLlocatedinthe
sectionofyourcode:延伸文章資訊
- 1Encoding.UTF8 屬性(System.Text) - Microsoft Learn
WriteLine(); // Display the number of bytes required to encode the array. int reqBytes = utf8.Get...
- 2如何把純文字檔案轉換成UTF-8格式:使用Notepad++ / How ...
這就是Notepad++的畫面了。 Big5純文字範例檔案下載/ Download Big5 Encoding Text File. image. 有時候我們拿到的檔案並不是用UTF8編碼 ...
- 3UTF-8 - Wikipedia
UTF-8 is a variable-width character encoding used for electronic communication. Defined by the Un...
- 4UTF-8 - 维基百科,自由的百科全书
UTF-8(8-bit Unicode Transformation Format)是一種針對Unicode的可變長度字元編碼,也是一种前缀码。它可以用一至四个字节对Unicode字符集中的所有...
- 5What is UTF-8 Encoding? A Guide for Non-Programmers
UTF-8 is an encoding system for Unicode. It can translate any Unicode character to a matching uni...