Template:ASCII code

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:ASCII code/doc.

Returns the ASCII value of a single character.


{{ASCII code|char}}


  • {{ASCII code|q}} returns 113
  • {{ASCII code|Q}} returns 81

Note that only characters in the range 32-126 are supported. Non-standard characters will return 32 (space).

See also[edit]

Template:String templates see also text