utf-8
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
utf-8 [2014-12-12 08:16] – removed 70.81.134.165 | utf-8 [2017-11-13 02:49] (current) – 114.84.118.11 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== UTF-8 Encoding ====== | ||
+ | [[DokuWiki]] now stores all its data in UTF-8. To avoid problems, the filenames of the datafiles itself are [[phpfn> | ||
+ | |||
+ | ===== Browser Setup for UTF-8 ===== | ||
+ | |||
+ | All modern browsers do handle UTF-8 encoded web pages - it's one of the few things that actually work as expected in most browsers. If your browser doesn' | ||
+ | |||
+ | Windows users should install the '' | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | * [[wp> | ||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | ===== Editing Files ===== | ||
+ | |||
+ | {{ wiki: | ||
+ | |||
+ | If you intend to edit the data files directly or want to create a [[Localization|translation]]. You need to use a UTF-8 aware editor. There are a lot of capable editors out there, I just want to recommend two small, simple, and free ones here if you still need one ((This is neither intended to be a complete list of Unicode editors, nor as a selection of the best available choices. It's just two small editors I did like. Please do **not** add more editors.)) : | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | Please note: DokuWiki does __not__ use a [[wp> | ||
+ | |||
+ | |||
+ | ===== batch Encoding file ===== | ||
+ | |||
+ | * On Unix use http:// | ||
+ | * On Window use recode, a port of iconv: http:// | ||
+ | * Example of a simple conversion for french local computer:< | ||
+ | * To batch the conversion on Windows use this (conversion of all the files in sub-directory)< | ||
+ | * More explanation there: [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | Below are some examples of UTF-8 characters to check your browser((copied from http:// | ||
+ | |||
+ | Zodiac Signs: ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓ | ||
+ | |||
+ | A chessboard: | ||
+ | |||
+ | ^ ^ A ^ B ^ C ^ D ^ E ^ F ^ G ^ H ^ | ||
+ | ^ 8 | ♜ | ♞ | ♝ | ♛ | ♚ | ♝ | ♞ | ♜ | | ||
+ | ^ 7 | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | | ||
+ | ^ 6 | | ||
+ | ^ 5 | | ||
+ | ^ 4 | | ||
+ | ^ 3 | | ||
+ | ^ 2 | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | | ||
+ | ^ 1 | ♖ | ♘ | ♗ | ♕ | ♔ | ♗ | ♘ | ♖ | | ||
+ | |||
+ | Russian (по-русски): | ||
+ | |||
+ | По оживлённым берегам | ||
+ | Громады стройные теснятся | ||
+ | Дворцов и башен; корабли | ||
+ | Толпой со всех концов земли | ||
+ | К богатым пристаням стремятся; | ||
+ | |||
+ | Ancient Greek: | ||
+ | |||
+ | Αρχαίο Πνεύμα Αθάνατον! | ||
+ | Ἰοὺ ἰού· τὰ πάντʼ ἂν ἐξήκοι σαφῆ. | ||
+ | Ὦ φῶς, τελευταῖόν σε προσϐλέψαιμι νῦν, | ||
+ | ὅστις πέφασμαι φύς τʼ ἀφʼ ὧν οὐ χρῆν, ξὺν οἷς τʼ | ||
+ | οὐ χρῆν ὁμιλῶν, | ||
+ | |||
+ | Modern Greek: | ||
+ | Η σύγχρονη Ελλάδα, | ||
+ | έργο στον τομέα του πολιτισμού, | ||
+ | των γραμμάτων. Αντίστοιχα δυναμική είναι η παρουσία | ||
+ | των Ελλήνων επιχειρηματιών στην διεθνή οικονομική | ||
+ | και βιομηχανική σκηνή. | ||
+ | |||
+ | Sanskrit: | ||
+ | |||
+ | पशुपतिरपि तान्यहानि कृच्छ्राद् | ||
+ | अगमयदद्रिसुतासमागमोत्कः । | ||
+ | कमपरमवशं न विप्रकुर्युर् | ||
+ | विभुमपि तं यदमी स्पृशन्ति भावाः ॥ | ||
+ | |||
+ | Hindi: | ||
+ | |||
+ | गूगल समाचार हिन्दी में | ||
+ | |||
+ | Korean: | ||
+ | 한글은 아름다운 우리글입니다. | ||
+ | 곱고 아름답게 사용하는 것이 우리의 의무입니다. | ||
+ | |||
+ | Traditional Chinese: | ||
+ | |||
+ | 子曰:「學而時習之,不亦說乎?有朋自遠方來,不亦樂乎? | ||
+ | 人不知而不慍,不亦君子乎?」 | ||
+ | | ||
+ | 有子曰:「其為人也孝弟,而好犯上者,鮮矣; | ||
+ | 不好犯上,而好作亂者,未之有也。君子務本,本立而道生。 | ||
+ | 孝弟也者,其為仁之本與!」 | ||
+ | | ||
+ | | ||
+ | |||
+ | 子曰:「学而时习之,不亦说乎?有朋自远方来,不亦乐乎? | ||
+ | 人不知而不慍,不亦君子乎?」 | ||
+ | | ||
+ | 有子曰:「其为人也孝弟,而好犯上者,鲜矣; | ||
+ | 不好犯上,而好作乱者,未之有也。君子务本,本立而道生。 | ||
+ | 孝弟也者,其为仁之本与!」 | ||
+ | |||
+ | Japanese: | ||
+ | |||
+ | 「秋の田の かりほの庵の 苫をあらみ わが衣手は 露にぬれつつ」 天智天皇 | ||
+ | 「春すぎて 夏来にけらし 白妙の 衣ほすてふ 天の香具山」 持統天皇 | ||
+ | 「あしびきの 山鳥の尾の しだり尾の ながながし夜を ひとりかも寝む」 柿本人麻呂 | ||
+ | |||
+ | Latvian: | ||
+ | | ||
+ | Iedomu jaukie ideāli, | ||
+ | Vecākie principi, tikla, mīla - | ||
+ | Dienas allažības priekšā | ||
+ | Šķīst kā graudi akmeņstarpā. | ||
+ | |||
+ | Glāžšķūņa rūķīši jautri dziedādami čiepj koncertflīģeļa vāku. | ||
+ | |||
+ | Simplified Chinese : | ||
+ | |||
+ | 这是简体字汉语: | ||
+ | |||
+ | Armenian: | ||
+ | |||
+ | Հարգանքներիս հավաստիքը Հայ Ժողովրդին: | ||
+ | Ամենալավ օրենքները չեն օգնի, եթե մարդիկ բանի պետք չեն: | ||
+ | |||
+ | Persian: | ||
+ | |||
+ | بنیآدم اعضای یکدیگرند / که در آفرینش ز یک گوهرند | ||
+ | | ||
+ | Hebrew: | ||
+ | |||
+ | המשפט עם הזכוכית שאפשר לאכול בלי שזה מפריע, לא זוכר איך הוא הולך |
utf-8.1418368606.txt.gz · Last modified: 2014-12-12 08:16 by 70.81.134.165