CINXE.COM

Voir la source de Module:données Unicode — Wiktionnaire, le dictionnaire libre

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available" lang="fr" dir="ltr"> <head> <meta charset="UTF-8"> <title>Voir la source de Module:données Unicode — Wiktionnaire, le dictionnaire libre</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )frwiktionarymwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"9850a9d0-e860-47db-b95e-d4d8bddc5a45","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Module:données_Unicode","wgTitle":"données Unicode","wgCurRevisionId":32657784,"wgRevisionId":0,"wgArticleId":3977646,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Module:données_Unicode","wgRelevantArticleId":3977646,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["sysop"],"wgRestrictionMove":["sysop"],"wgNoticeProject":"wiktionary","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{ "pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgCodeEditorCurrentLanguage":"lua","wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.gadget.StyleWiktionnaire":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.codeEditor.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready" ,"ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.SommaireDeveloppable","ext.gadget.wikt.page-preview","ext.gadget.anagrimes","ext.gadget.ChercheDansSousCategories","ext.gadget.clearer-edit-summary","ext.gadget.wikt.add-examples","ext.gadget.Wiktionnaire","ext.gadget.LiensAncresDansCategories","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=fr&amp;modules=ext.charinsert.styles%7Cext.codeEditor.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=fr&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=fr&amp;modules=ext.gadget.StyleWiktionnaire&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=fr&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:site_name" content="Wiktionnaire"> <meta property="og:title" content="Voir la source de Module:données Unicode — Wiktionnaire, le dictionnaire libre"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//fr.m.wiktionary.org/wiki/Module:donn%C3%A9es_Unicode"> <link rel="apple-touch-icon" href="/static/apple-touch/wiktionary.png"> <link rel="icon" href="/static/favicon/piece.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wiktionnaire (fr)"> <link rel="EditURI" type="application/rsd+xml" href="//fr.wiktionary.org/w/api.php?action=rsd"> <link rel="canonical" href="https://fr.wiktionary.org/wiki/Module:donn%C3%A9es_Unicode"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr"> <link rel="alternate" type="application/atom+xml" title="Flux Atom de Wiktionnaire" href="/w/index.php?title=Sp%C3%A9cial:Modifications_r%C3%A9centes&amp;feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="codeeditor-loading skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-828 ns-subject page-Module_données_Unicode rootpage-Module_données_Unicode skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Aller au contenu</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Menu principal" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Menu principal</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Menu principal</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">masquer</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-name" class="mw-list-item"><a href="/wiki/Wiktionnaire:Page_d%E2%80%99accueil"><span>Page d’accueil</span></a></li><li id="n-Recherche-avancée,-anagrammes-et-rimes" class="mw-list-item"><a href="/wiki/Wiktionnaire:Recherche_avanc%C3%A9e"><span>Recherche avancée, anagrammes et rimes</span></a></li><li id="n-thema" class="mw-list-item"><a href="/wiki/Wiktionnaire:Portails"><span>Portails</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Page_au_hasard" title="Afficher une page au hasard [x]" accesskey="x"><span>Page au hasard</span></a></li><li id="n-randompagebylang" class="mw-list-item"><a href="/wiki/Wiktionnaire:Page_au_hasard"><span>Page au hasard par langue</span></a></li><li id="n-Questions-sur-les-mots" class="mw-list-item"><a href="/wiki/Wiktionnaire:Questions_sur_les_mots"><span>Poser une question</span></a></li> </ul> </div> </div> <div id="p-Contribuer" class="vector-menu mw-portlet mw-portlet-Contribuer" > <div class="vector-menu-heading"> Contribuer </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Wiktionnaire:Accueil_communautaire" title="À propos du projet, ce que vous pouvez faire, où trouver les informations"><span>Communauté</span></a></li><li id="n-La-Wikidémie" class="mw-list-item"><a href="/wiki/Wiktionnaire:Wikid%C3%A9mie"><span>La Wikidémie</span></a></li><li id="n-Discuter-sur-Discord" class="mw-list-item"><a href="/wiki/Wiktionnaire:Discord"><span>Discuter sur Discord</span></a></li><li id="n-journal" class="mw-list-item"><a href="/wiki/Wiktionnaire:Journal_des_contributeurs"><span>Journal des contributeurs</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Modifications_r%C3%A9centes" title="Liste des modifications récentes sur le wiki [r]" accesskey="r"><span>Modifications récentes</span></a></li> </ul> </div> </div> <div id="p-Aide" class="vector-menu mw-portlet mw-portlet-Aide" > <div class="vector-menu-heading"> Aide </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-Conventions" class="mw-list-item"><a href="/wiki/Convention:Sommaire"><span>Conventions</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Aide:Sommaire" title="Accès à l’aide"><span>Aide</span></a></li><li id="n-Modèles" class="mw-list-item"><a href="/wiki/Wiktionnaire:Mod%C3%A8les" title="Modèles"><span>Modèles</span></a></li><li id="n-Création-rapide" class="mw-list-item"><a href="/wiki/Aide:Cr%C3%A9ation_rapide"><span>Créer un article</span></a></li><li id="n-Télécharger" class="mw-list-item"><a href="/wiki/Wiktionnaire:Sites_miroirs#Avec_logiciel_à_télécharger"><span>Télécharger</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wiktionnaire:Page_d%E2%80%99accueil" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wiktionary.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wiktionnaire : dictionnaire libre et universel" src="/static/images/mobile/copyright/wiktionary-wordmark-fr.svg" style="width: 7.125em; height: 0.9375em;"> <img class="mw-logo-tagline" alt="le dictionnaire libre" src="/static/images/mobile/copyright/wiktionary-tagline-fr.svg" width="107" height="10" style="width: 6.6875em; height: 0.625em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Sp%C3%A9cial:Recherche" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Rechercher dans le Wiktionnaire [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Rechercher</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Rechercher dans le Wiktionnaire" aria-label="Rechercher dans le Wiktionnaire" autocapitalize="none" title="Rechercher dans le Wiktionnaire [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Spécial:Recherche"> </div> <button class="cdx-button cdx-search-input__end-button">Rechercher</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Outils personnels"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Apparence"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Modifier l&#039;apparence de la taille, de la largeur et de la couleur de la police de la page" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Apparence" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Apparence</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_fr.wiktionary.org&amp;uselang=fr" class=""><span>Faire un don</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Sp%C3%A9cial:Cr%C3%A9er_un_compte&amp;returnto=Module%3Adonn%C3%A9es+Unicode&amp;returntoquery=action%3Dedit" title="Nous vous encourageons à créer un compte utilisateur et vous connecter ; ce n’est cependant pas obligatoire." class=""><span>Créer un compte</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Sp%C3%A9cial:Connexion&amp;returnto=Module%3Adonn%C3%A9es+Unicode&amp;returntoquery=action%3Dedit" title="Nous vous encourageons à vous connecter ; ce n’est cependant pas obligatoire. [o]" accesskey="o" class=""><span>Se connecter</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Plus d’options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Outils personnels" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Outils personnels</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menu utilisateur" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_fr.wiktionary.org&amp;uselang=fr"><span>Faire un don</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:Cr%C3%A9er_un_compte&amp;returnto=Module%3Adonn%C3%A9es+Unicode&amp;returntoquery=action%3Dedit" title="Nous vous encourageons à créer un compte utilisateur et vous connecter ; ce n’est cependant pas obligatoire."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Créer un compte</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:Connexion&amp;returnto=Module%3Adonn%C3%A9es+Unicode&amp;returntoquery=action%3Dedit" title="Nous vous encourageons à vous connecter ; ce n’est cependant pas obligatoire. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Se connecter</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages pour les contributeurs déconnectés <a href="/wiki/Aide:Introduction" aria-label="En savoir plus sur la contribution"><span>en savoir plus</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Mes_contributions" title="Une liste des modifications effectuées depuis cette adresse IP [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Mes_discussions" title="La page de discussion pour les contributions depuis cette adresse IP [n]" accesskey="n"><span>Discussion</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">Voir la source de Module:données Unicode</h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Cet article n’existe que dans cette langue. Ajouter l’article pour d’autres langues." > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Pas dans d’autres langues</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Espaces de noms"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-module" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Module:donn%C3%A9es_Unicode" title="Afficher la page du module [c]" accesskey="c"><span>Module</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Discussion_module:donn%C3%A9es_Unicode" rel="discussion" title="Discussion au sujet de cette page de contenu [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Modifier la variante de langue" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Affichages"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="vector-tab-noicon mw-list-item"><a href="/wiki/Module:donn%C3%A9es_Unicode"><span>Lire</span></a></li><li id="ca-viewsource" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Module:donn%C3%A9es_Unicode&amp;action=edit" title="Cette page est protégée.&#10;Vous pouvez toutefois en visualiser la source. [e]" accesskey="e"><span>Voir le texte source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Module:donn%C3%A9es_Unicode&amp;action=history" title="Historique des versions de cette page [h]" accesskey="h"><span>Voir l’historique</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Outils de la page"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Outils" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Outils</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Outils</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">masquer</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Plus d’options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/Module:donn%C3%A9es_Unicode"><span>Lire</span></a></li><li id="ca-more-viewsource" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Module:donn%C3%A9es_Unicode&amp;action=edit"><span>Voir le texte source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Module:donn%C3%A9es_Unicode&amp;action=history"><span>Voir l’historique</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Général </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Pages_li%C3%A9es/Module:donn%C3%A9es_Unicode" title="Liste des pages liées qui pointent sur celle-ci [j]" accesskey="j"><span>Pages liées</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Suivi_des_liens/Module:donn%C3%A9es_Unicode" rel="nofollow" title="Liste des modifications récentes des pages appelées par celle-ci [k]" accesskey="k"><span>Suivi des pages liées</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=fr" title="Téléverser une image ou fichier média sur le serveur [u]" accesskey="u"><span>Téléverser un fichier</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Pages_sp%C3%A9ciales" title="Liste de toutes les pages spéciales [q]" accesskey="q"><span>Pages spéciales</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Module:donn%C3%A9es_Unicode&amp;action=info" title="Davantage d’informations sur cette page"><span>Informations sur la page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:UrlShortener&amp;url=https%3A%2F%2Ffr.wiktionary.org%2Fw%2Findex.php%3Ftitle%3DModule%3Adonn%25C3%25A9es_Unicode%26action%3Dedit"><span>Obtenir l’URL raccourcie</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:QrCode&amp;url=https%3A%2F%2Ffr.wiktionary.org%2Fw%2Findex.php%3Ftitle%3DModule%3Adonn%25C3%25A9es_Unicode%26action%3Dedit"><span>Télécharger le code QR</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> Dans d’autres projets </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q130279607" title="Lien vers l’élément dans le dépôt de données connecté [g]" accesskey="g"><span>Élément Wikidata</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Outils de la page"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Apparence"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Apparence</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">masquer</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Module:donn%C3%A9es_Unicode" title="Module:données Unicode">Module:données Unicode</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>Vous n’avez pas le droit de modifier cette page, pour les raisons suivantes : </p> <ul class="permissions-errors"><li class="mw-permissionerror-protectedpagetext">Cette page a été protégée pour empêcher sa modification. Vous pouvez néanmoins <a href="/wiki/Wiktionnaire:Demandes_aux_administrateurs" title="Wiktionnaire:Demandes aux administrateurs">demander sa modification à un administrateur</a>.</li><li class="mw-permissionerror-globalblocking-blockedtext-range"><b>Votre adresse IP fait partie d’une plage qui a été <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">bloquée sur tous les wikis de la Fondation Wikimédia</a>.</b> Le blocage a été effectué par <a href="/wiki/Utilisateur:Jon_Kolbert" title="Utilisateur:Jon Kolbert">‪Jon Kolbert‬</a>. Le motif invoqué est <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. <ul><li>Début du blocage : 27 août 2023 à 15:12</li> <li>Expiration du blocage : 27 août 2028 à 15:12</li></ul> Votre adresse IP actuelle est 8.222.208.146. La plage bloquée est 8.222.128.0/17. Veuillez inclure tous les détails ci-dessus dans toutes les demandes que vous effectuerez. Si vous pensez avoir été bloqué(e) par erreur, vous pouvez trouver plus d’informations et d’instructions dans la politique globale <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">Pas de serveurs mandataires ouverts</a>. Sinon, pour discuter du blocage, veuillez <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">publier une demande de révision sur Méta-Wiki</a>. Vous pouvez également envoyer un courriel à la file des <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">coordinateurs</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> à <kbd>stewards@wikimedia.org</kbd>, en incluant tous les détails ci-dessus.</li></ul><hr /> <p>Vous pouvez voir et copier le contenu de cette page. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">local m_table = require("Module:table") local m_params = require("Module:paramètres") local p = {} --------------------------------- -- Functions for other modules -- --------------------------------- -- Data loading functions -- --- Returns the list of all Unicode blocks. --- @return table function p.getBlocks() return mw.loadData("Module:données Unicode/data/blocks") end --- Returns the list of all Unicode scripts. --- @return table function p.getScripts() return mw.loadData("Module:données Unicode/data/scripts") end --- Returns the list of all Unicode script ranges. --- @return table function p.getScriptRanges() -- Loaded with require() instead of mw.loadData() as the returned table -- has tables as keys. return require("Module:données Unicode/data/script ranges") end --- Returns the list of all number systems. --- @return table function p.getNumberSystems() return mw.loadData("Module:données Unicode/data/numbers") end -- Block-related functions -- --- Returns the Unicode block that has the given lowest codepoint. --- @param lowerCodepoint number The lowest codepoint of the block. --- @return table|nil The block or nil if none were found. function p.getBlock(lowerCodepoint) return p.getBlocks()[lowerCodepoint] end --- Returns the Unicode block that contains the given character. --- Throws an error if zero or more than 1 characters were given. --- @param char string The character. --- @return table|nil The block or nil if the character doesn’t belong to any block. function p.getBlockForChar(char) local len = mw.ustring.len(char) if len ~= 1 then error(mw.ustring.format('Un seul caractère attendu, %d donnés ("%s")', len, char)) end local code = mw.ustring.codepoint(char) for _, block in pairs(p.getBlocks()) do if block.lower &lt;= code and code &lt;= block.upper then return block end end return nil end -- Script-related functions -- --- Returns the Unicode script for the given code. --- @param code string The script’s code. --- @return table|nil The script or nil if none were found. function p.getScript(code) return p.getScripts()[code] end --- Returns the Unicode script for the given character. --- Throws an error if zero or more than 1 characters were given. --- @param char string The character. --- @return table|nil The script or nil if the character doesn’t belong to any block. function p.getScriptForChar(char) local len = mw.ustring.len(char) if len ~= 1 then error(mw.ustring.format("Un seul caractère attendu, %d donnés", len)) end local code = mw.ustring.codepoint(char) local scripts = p.getScripts() for range, script_code in pairs(p.getScriptRanges()) do if range[1] &lt;= code and code &lt;= range[2] then return scripts[script_code] end end return scripts["Unknown"] end --- Returns the Unicode script for the given text. --- If the text contains character from several scripts other than --- Common or Inherited, the returned script is Common. --- @param text string The text. --- @return table The script. function p.getScriptForText(text) local inheritedFound = false local commonFound = false local res for _, script in pairs(p.getScriptsForText(text)) do local name = script.code if not commonFound and name == "Common" then commonFound = true elseif not inheritedFound and name == "Inherited" then inheritedFound = true elseif name ~= "Common" and name ~= "Inherited" then if res == nil or res.code == "Unknown" then res = script elseif res and script.code ~= "Unknown" and script.code ~= res.code then return p.getScript("Unknown") end end end if res == nil then if inheritedFound then return p.getScript("Inherited") elseif commonFound then return p.getScript("Common") end end return res end --- Returns the Unicode scripts for the given text. --- @param text string The text. --- @param getRanges boolean If true, ranges for each script will be returned --- @return table The list of scripts (unsorted). function p.getScriptsForText(text, getRanges) local res = {} local scriptsRanges = {} local i = 1 while i &lt;= mw.ustring.len(text) do local c = mw.ustring.sub(text, i, i) -- Skip HTML tags local skip = false if c == "&lt;" then local j = mw.ustring.find(text, ">", i, true) if j ~= nil then table.insert(scriptsRanges, { script = nil, from = i, to = j }) i = j skip = true end end if not skip then local script = p.getScriptForChar(c) local name = script.code if not res[name] then res[name] = script table.insert(scriptsRanges, { script = name, from = i, to = i }) else local lastRange = scriptsRanges[#scriptsRanges] if lastRange.script == name and lastRange.to + 1 == i then lastRange.to = i else table.insert(scriptsRanges, { script = name, from = i, to = i }) end end end i = i + 1 end if getRanges then return res, scriptsRanges end return res end --- Indicates whether the given text contains characters in the given Unicode script. --- @param text string The text. --- @param scriptCode string The script’s code. --- @return boolean True if the code exists and the text contains characters in this script, --- false otherwise. function p.textHasScript(text, scriptCode) local script = p.getScript(scriptCode) return script ~= nil and p.getScriptsForText(text)[script.code] ~= nil end --- Indicates whether the given text should be in italics, based on the different character scripts. --- A text should be in italics if and only if p.getScriptForText(text) returns either Latin, Common or Inherit; --- in all other cases, it should not. --- @param text string The text. --- @return boolean True if the text should be in italics. function p.shouldItalicize(text) local name = p.getScriptForText(text).code return name == "Latin" or name == "Common" or name == "Inherited" end local directionToCss = { ["lr"] = "horizontal-tb", ["rl"] = "horizontal-tb", ["tb"] = "vertical-lr", ["i"] = "inherit", ["m"] = "inherit", } local directionToDir = { ["lr"] = "ltr", ["rl"] = "rtl", ["tb"] = "ltr", } --- Sets the writing direction for the given text, based on its Unicode scripts, --- by inserting span tags. --- @param text string The text. --- @return string The text which contains span tags with the writing-mode CSS rule and dir attribute. function p.setWritingDirection(text) local dirsToIgnore = { lr = true, rl = true } local res = "" local scripts, intervals = p.getScriptsForText(text, true) local prevScriptName local inSpan = false for i, interval in ipairs(intervals) do local substr = mw.ustring.sub(text, interval.from, interval.to) if interval.script then local script = scripts[interval.script] local scriptName = script.name local scriptDir = script.direction or "i" local nextScript = intervals[i + 1] and scripts[intervals[i + 1].script] or nil local nextScriptDir = nextScript and (nextScript.direction or "i") or nil if inSpan and scriptDir ~= "i" and scriptDir ~= "m" and scriptName ~= prevScriptName then res = res .. "&lt;/span>" inSpan = false end if dirsToIgnore[scriptDir] or prevScriptName == scriptName -- Special case for when text begins with i or m scripts and is followed by script that is not lr nor rl or ((scriptDir == "i" or scriptDir == "m") and ((i == 1 and (dirsToIgnore[nextScriptDir] or nextScriptDir == "i" or nextScriptDir == "m")) or i > 1 or not nextScript)) then res = res .. substr else local dir local cssDir -- Include current span in next script’s span if scriptDir ~= "i" and scriptDir ~= "m" then dir = directionToDir[scriptDir] cssDir = scriptDir prevScriptName = scriptName elseif nextScriptDir then dir = directionToDir[nextScriptDir] cssDir = nextScriptDir prevScriptName = nextScript.name end if dir then local dirAttr = dir and ('dir="' .. dir .. '"') or "" local writingMode = directionToCss[cssDir] res = res .. mw.ustring.format('&lt;span %s style="writing-mode:%s">', dirAttr, writingMode) .. substr inSpan = true end end else if inSpan then res = res .. "&lt;/span>" inSpan = false end res = res .. substr prevScriptName = nil end end if inSpan then res = res .. "&lt;/span>" end return res end --- Converts an integer into another system. --- @param n number The number to convert. --- @param system string The target number system. --- @return string The converted number as a string of digits. function p.convertNumber(n, system) if n &lt; 0 then error("Le nombre doit être un entier positif ou nul !") end local s = p.getNumberSystems()[system] if not s then error("Système numérique invalide : " .. tostring(system)) end if (s.min_value and n &lt; s.min_value) or (s.max_value and n > s.max_value) then error("Valeur invalide : " .. tostring(n)) end -- Positional systems if s.positional then local base = s.base local offset = s.zero_offset local digit = function(i) return mw.ustring.char(i + offset) end if n == 0 then return digit(0) end local res = "" local i = n while i > 0 do res = digit(i % base) .. res i = math.floor(i / base) end return res -- Roman numerals elseif system == "romain" then local symbols = { "I", "V", "X", "L", "C", "D", "M", "ↁ", "ↂ", "ↇ", "ↈ", } local exp = 0; local res = ""; local i = n while i > 0 do local d = i % 10; local unit1 = symbols[exp * 2 + 1]; local unit5 = symbols[(exp + 1) * 2]; local unit10 = symbols[(exp + 1) * 2 + 1]; local str = ""; if d ~= 0 then if d &lt;= 3 then for _ = 0, d - 1 do str = str .. unit1 end elseif d == 4 then str = str .. unit1 .. unit5 elseif d == 5 then str = str .. unit5 elseif 5 &lt; d and d &lt; 9 then str = str .. unit5 for _ = 0, d - 6 do str = str .. unit1 end else str = str .. unit1 .. unit10 end end res = str .. res; i = math.floor(i / 10); exp = exp + 1; end return res; -- Greek numerals elseif system == "grec" then local symbols = { "α", "β", "γ", "δ", "ε", "ϛ", "ζ", "η", "θ", -- 1 to 9 "ι", "κ", "λ", "μ", "ν", "ξ", "ο", "π", "ϟ", -- 10 to 90 "ρ", "σ", "τ", "υ", "φ", "χ", "ψ", "ω", "ϡ", -- 100 to 900 } local exp = 1; local res = ""; local i = n while i > 0 do local d = i % 10 if d > 0 then if exp == 10 or exp == 10000 then d = d + 9 elseif exp == 100 or exp == 100000 then d = d + 18 end res = symbols[d] .. res if exp >= 1000 then res = "͵" .. res end end exp = exp * 10 i = math.floor(i / 10) end if n % 1000 ~= 0 then res = res .. "ʹ" end return res -- Chinese and japanese numerals elseif system == "sinogrammes" then local symbols = { "〇", "一", "二", "三", "四", "五", "六", "七", "八", "九" } if n == 0 then return symbols[1] end local res = ""; local i = n while i > 0 do res = symbols[(i % 10) + 1] .. res i = math.floor(i / 10) end return res end end ----------------------------- -- Functions for templates -- ----------------------------- --- Returns the wikitext for template [[Modèle:Bloc Unicode]]. --- frame.args[1] (int, optional): The lower bound of the Unicode block --- (decimal or hexadecimal with “0x” prefix). --- If undefined, the code will be extracted from the page’s title. --- @return string The template’s wikicode. function p.blockReference(frame) local args = m_params.process(frame.args, { [1] = { type = m_params.INT }, }) local blockCode = args[1] local block if blockCode then block = p.getBlock(blockCode) else block = p.getBlockForChar(mw.title.getCurrentTitle().text) end if block then return mw.ustring.format("Unicode, Inc., ''[%s %s]'', The Unicode Standard, version %s, %d", block.url, block.name.en, block.version, block.year) end error(mw.ustring.format("Bloc Unicode «&amp;nbsp;%s&amp;nbsp;» invalide", blockCode or "")) end --- Sets the writing direction for the given text, based on its Unicode script, --- by inserting it inside a span tag. --- frame.args[1] (string): The text. --- @return string The text, included in a span tag with the writing-mode CSS rule. function p.writingDirection(frame) local args = m_params.process(frame.args, { [1] = { required = true, allow_empty = true }, }) if args[1] then return p.setWritingDirection(args[1]) end return "" end --- Returns the Unicode codepoint of the given character. --- Throws an error if zero or more than 1 characters were given. --- frame.args[1] (string, only one character): The character. --- frame.args[2] (boolean, default = false) : Indicates wether the returned codepoint --- will be in hexadecimal. --- @return string|number The character’s codepoint without the “0x” prefix if it is in hexadecimal. function p.codepoint(frame) local args = m_params.process(frame.args, { [1] = { required = true, checker = function(value) return mw.ustring.len(value) == 1 end, }, ["hexa"] = { type = m_params.BOOLEAN, default = false }, }) local char = args[1] local isHex = args["hexa"] local code = mw.ustring.codepoint(char) if isHex then return string.format("%04X", code) end return code end --- Returns the character with the given Unicode codepoint. --- Throws an error if the codepoint is invalid. --- frame.args[1] (int): The codepoint. --- @return string The character. function p.character(frame) local args = m_params.process(frame.args, { [1] = { required = true, type = m_params.INT }, }) local code = tonumber(args[1]) if code ~= nil then local success, char = pcall(mw.ustring.char, code) if success then return char end end error("Point de code incorrect") end --- Converts an arab number into the given system. --- frame.args[1] (int): The number. --- frame.args["script"] (string): The target system. --- @return string The converted number as a string of digits. function p.number(frame) local args = m_params.process(frame.args, { [1] = { required = true, type = m_params.INT, checker = function(i) return tonumber(i) >= 0 end }, ["script"] = { enum = m_table.keysToList(p.getNumberSystems()), default = "latin" } }) return p.convertNumber(args[1], args["script"]) end return p </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Modèles utilisés par cette page&#160;: </p></div><ul> <li><a href="/wiki/Mod%C3%A8le:Documentation_module" title="Modèle:Documentation module">Modèle:Documentation module</a> (<a href="/w/index.php?title=Mod%C3%A8le:Documentation_module&amp;action=edit" title="Modèle:Documentation module">modifier</a>) </li><li><a href="/wiki/Mod%C3%A8le:M" title="Modèle:M">Modèle:M</a> (<a href="/w/index.php?title=Mod%C3%A8le:M&amp;action=edit" title="Modèle:M">modifier</a>) </li><li><a href="/wiki/Mod%C3%A8le:M%C3%A9ta_documentation_de_mod%C3%A8le" title="Modèle:Méta documentation de modèle">Modèle:Méta documentation de modèle</a> (<a href="/w/index.php?title=Mod%C3%A8le:M%C3%A9ta_documentation_de_mod%C3%A8le&amp;action=edit" title="Modèle:Méta documentation de modèle">modifier</a>) </li><li><a href="/wiki/Mod%C3%A8le:M%C3%A9ta_documentation_de_mod%C3%A8le/styles.css" title="Modèle:Méta documentation de modèle/styles.css">Modèle:Méta documentation de modèle/styles.css</a> (<a href="/w/index.php?title=Mod%C3%A8le:M%C3%A9ta_documentation_de_mod%C3%A8le/styles.css&amp;action=edit" title="Modèle:Méta documentation de modèle/styles.css">modifier</a>) </li><li><a href="/wiki/Mod%C3%A8le:documentation_module" class="mw-redirect" title="Modèle:documentation module">Modèle:documentation module</a> (<a href="/w/index.php?title=Mod%C3%A8le:documentation_module&amp;action=edit" class="mw-redirect" title="Modèle:documentation module">modifier</a>) </li><li><a href="/wiki/Module:Documentation" title="Module:Documentation">Module:Documentation</a> (<a href="/w/index.php?title=Module:Documentation&amp;action=edit" title="Module:Documentation">modifier</a>) </li><li><a href="/wiki/Module:donn%C3%A9es_Unicode/Documentation" title="Module:données Unicode/Documentation">Module:données Unicode/Documentation</a> (<a href="/w/index.php?title=Module:donn%C3%A9es_Unicode/Documentation&amp;action=edit" title="Module:données Unicode/Documentation">modifier</a>) </li></ul></div><p id="mw-returnto">Revenir à la page <a href="/wiki/Module:donn%C3%A9es_Unicode" title="Module:données Unicode">Module:données Unicode</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&amp;useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Récupérée de «&#160;<a dir="ltr" href="https://fr.wiktionary.org/wiki/Module:données_Unicode">https://fr.wiktionary.org/wiki/Module:données_Unicode</a>&#160;»</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy/fr">Politique de confidentialité</a></li> <li id="footer-places-about"><a href="/wiki/Wiktionnaire:%C3%80_propos">À propos du Wiktionnaire</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wiktionnaire:Licence">Licence</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code de conduite</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Développeurs</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/fr.wiktionary.org">Statistiques</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Déclaration sur les témoins (cookies)</a></li> <li id="footer-places-mobileview"><a href="//fr.m.wiktionary.org/w/index.php?title=Module:donn%C3%A9es_Unicode&amp;action=edit&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Version mobile</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-5c59558b9d-5q56r","wgBackendResponseTime":162,"wgPageParseReport":{"limitreport":{"cputime":"0.006","walltime":"0.010","ppvisitednodes":{"value":18,"limit":1000000},"postexpandincludesize":{"value":851,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 0.000 1 -total"]},"cachereport":{"origin":"mw-web.codfw.main-5c59558b9d-5q56r","timestamp":"20241129071250","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10