Help:Odd characters or ASCII text: Difference between revisions
No edit summary |
No edit summary |
||
| Line 34: | Line 34: | ||
This last list was | This last list was made using &diamondsuit; (HTML code for the diamond suit character) at the start of each line, and <nowiki><br></nowiki> (code for a line break) at the end of each line. | ||
See [https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references this list of XML and HTML character entity references] if needed. | See [https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references this list of XML and HTML character entity references] if needed. | ||
Revision as of 23:09, 24 September 2025
Sometimes you might paste in text that's been formatted in a word processor or other program that uses extended characters / special characters / other ASCII characters that aren't supported in the wiki.
For example, here's the Chorus of The Brave and Bonny Host that was formatted in Microsoft Word with square bullet characters:
Fill our cups with ale or wine or beer, We will stand together never fear; And we'll drink down a toast To the brave and bonny host That fights for the banner of An Tir.
The bullets appear as odd-looking squares with text, and as the lines only have a single return (and now wiki code the wiki understands), they are all run together.
Replacing the "broken" characters with the asterisks at the beginning of each line will tell the wiki it's a bullet list:
- Fill our cups with ale or wine or beer,
- We will stand together never fear;
- And we'll drink down a toast
- To the brave and bonny host
- That fights for the banner of An Tir.
Note if you are dead set on a particular character type, there may be a way to do it using HTML markup language (and otherwise formatting it, like adding in your own line breaks.
♦ Fill our cups with ale or wine or beer,
♦ We will stand together never fear;
♦ And we'll drink down a toast
♦ To the brave and bonny host
♦ That fights for the banner of An Tir.
This last list was made using ♦ (HTML code for the diamond suit character) at the start of each line, and <br> (code for a line break) at the end of each line.
See this list of XML and HTML character entity references if needed.