Changes for page UTF-8 Encoding Tips

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

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

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Localization
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ramsey
1 +XWiki.kiddyr
Content
... ... @@ -15,6 +15,13 @@
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 +
18 18  == Fonts & CSS ==
19 19  
20 20  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
... ... @@ -63,3 +63,6 @@
63 63  <wocompile srcdir="Sources" destdir="bin" encoding="utf-8">
64 64  
65 65  {{/code}}
73 +
74 +(% class="auto-cursor-target" %)
75 +\\
options.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +141.4 KB
Content
preferences.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +106.8 KB
Content