Changes for page UTF-8 Encoding Tips

Last modified by Ray Kiddy on 2022/01/11 21:36

From version 20.1
edited by Ray Kiddy
on 2022/01/11 21:36
Change comment: added example for table create
To version 19.1
edited by Ramsey Gurley
on 2013/06/12 13:30
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,0 @@
1 -Localization
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kiddyr
1 +XWiki.ramsey
Content
... ... @@ -15,13 +15,6 @@
15 15  
16 16  [[image:attach:options.png]]
17 17  
18 -Or you can set these things at table create as below. One can also set these on the database as a whole.
19 -
20 -
21 -\\\\\\\\\\\\\\\\
22 -
23 -{{{mysql> show create table cards \G*************************** 1. row ***************************       Table: cardsCreate Table: CREATE TABLE `cards` (  `pk` int NOT NULL,  `creator_pk` int DEFAULT NULL,  `created_date` bigint DEFAULT NULL,  `invalid_date` bigint DEFAULT NULL,  PRIMARY KEY (`pk`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci}}}
24 -
25 25  == Fonts & CSS ==
26 26  
27 27  Different fonts may not have all the characters to display the different characters. If you're using a default stylesheet, then the browsers may be displaying differently simply because of fonts. Speaking of stylesheets, you probably want to encode that in UTF-8 also. Start your stylesheet with something like
... ... @@ -70,6 +70,3 @@
70 70  <wocompile srcdir="Sources" destdir="bin" encoding="utf-8">
71 71  
72 72  {{/code}}
73 -
74 -(% class="auto-cursor-target" %)
75 -\\
options.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -141.4 KB
Content
preferences.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -106.8 KB
Content