Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Technical details  





2 Examples  





3 Usage  





4 See also  














Template:GB18030







Slovenščina
 

Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


00

Technical details[edit]

Delegates most logic to Template:GB18030/main. Uses Template:GB18030/decimal if decimal output is requested.

Examples[edit]

Usage[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:GB18030 in articles based on its TemplateData.

TemplateData for GB18030

Encodes a Unicode code point as GB 18030, a Mainland Chinese standard UTF.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Codepoint1

A Unicode code point, in hexadecimal.

Example
26C7
Stringrequired
Basebase

Base to output (hex, dec or LChex, though aliases to exist to match the invocation of the UTF-8 template). Does not affect input, which must be hexadecimal in either case.

Default
hex
Stringoptional
Editionedition

A version of the GB 18030 encoding (2000, 2005, web or newucs—the former two are true UTFs, while the latter two are pragmatic versions used by some implementations which forsake some PUA characters).

Default
2005
Stringoptional
Use GB 1988 for yuan sign?gb1988

Should 0x24 be used as an alternative encoded form of ¥, per chart glyphs? If in doubt, leave this off (since this precludes functioning as a true UTF).

Default
no
Booleanoptional

See also[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:GB18030&oldid=973627362"

Hidden categories: 
Templates using TemplateData
Navboxes using background colours
 



This page was last edited on 18 August 2020, at 08:40 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki