« Utilisateur:LeBret/Bac à sable » : différence entre les versions

De Disposition de clavier bépo
Aucun résumé des modifications
Ligne 4 : Ligne 4 :
http://www.keyboard-layout-editor.com/##@_name=latin%20et%20ponctuation%3B&@_a:7%3B&=&=&_a:5%3B&=%0A%E2%80%B9&=%0A%E2%80%BA&_a:7%3B&=&=&=&=&_a:5%3B&=%0A%5B-%5D&_a:7%3B&=&=&=&=&_w:2%3B&=%3B&@_w:1.5%3B&=&=&=&=&=&=&=&=&_a:5%3B&=%C3%90%0A%C3%B0&_a:7%3B&=&_a:5%3B&=%C4%B2%0Aij&=%C6%B7%0A%CA%92&_a:7%3B&=&_x:0.25&w:1.25&h:2&w2:1.5&h2:1&x2:-0.25%3B&=%3B&@_w:1.75%3B&=&=&=&=&_a:5%3B&=%C6%8F%0A%C9%99&_a:7%3B&=&_a:5%3B&=%CF%B4%0A%CE%B8&=%C3%9E%0A%C3%BE&=%E1%BA%9E%0A%C3%9F&_a:7%3B&=&_a:5%3B&=%C5%8A%0A%C5%8B&_a:7%3B&=&=%3B&@_w:1.25%3B&=&=&=&_t=%23000000%0A%0A%23369ae3&a:4&fa@:0&:0&:9%3B%3B&=%0A%0A%CA%BB&=%0A%0A%CA%BC&_t=%23000000&a:7%3B&=&=&=&_t=%23000000%0A%23369ae3&a:5&f2:9%3B&=%0A%CA%BC&_t=%23000000&a:7%3B&=&=&=&_w:2.75%3B&=%3B&@_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:6.25%3B&=%5Bespace%20cadratin%5D&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=
http://www.keyboard-layout-editor.com/##@_name=latin%20et%20ponctuation%3B&@_a:7%3B&=&=&_a:5%3B&=%0A%E2%80%B9&=%0A%E2%80%BA&_a:7%3B&=&=&=&=&_a:5%3B&=%0A%5B-%5D&_a:7%3B&=&=&=&=&_w:2%3B&=%3B&@_w:1.5%3B&=&=&=&=&=&=&=&=&_a:5%3B&=%C3%90%0A%C3%B0&_a:7%3B&=&_a:5%3B&=%C4%B2%0Aij&=%C6%B7%0A%CA%92&_a:7%3B&=&_x:0.25&w:1.25&h:2&w2:1.5&h2:1&x2:-0.25%3B&=%3B&@_w:1.75%3B&=&=&=&=&_a:5%3B&=%C6%8F%0A%C9%99&_a:7%3B&=&_a:5%3B&=%CF%B4%0A%CE%B8&=%C3%9E%0A%C3%BE&=%E1%BA%9E%0A%C3%9F&_a:7%3B&=&_a:5%3B&=%C5%8A%0A%C5%8B&_a:7%3B&=&=%3B&@_w:1.25%3B&=&=&=&_t=%23000000%0A%0A%23369ae3&a:4&fa@:0&:0&:9%3B%3B&=%0A%0A%CA%BB&=%0A%0A%CA%BC&_t=%23000000&a:7%3B&=&=&=&_t=%23000000%0A%23369ae3&a:5&f2:9%3B&=%0A%CA%BC&_t=%23000000&a:7%3B&=&=&=&_w:2.75%3B&=%3B&@_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:6.25%3B&=%5Bespace%20cadratin%5D&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=


scientifique
http://www.keyboard-layout-editor.com/##@_name=symbole%20scientifique%3B&@_a:7%3B&=&=&=&=&=&=&=&=&_a:5%3B&=%0A%E2%88%9E&_a:7%3B&=&=&=&=&_w:2%3B&=%3B&@_w:1.5%3B&=&=&=&=&=&=&=&_a:5%3B&=%E2%88%9A&_a:7%3B&=&=&=&=&=&_x:0.25&w:1.25&h:2&w2:1.5&h2:1&x2:-0.25%3B&=%3B&@_w:1.75%3B&=&=&=&=&=&=&=&=&=&=&=&=&=%3B&@_w:1.25%3B&=&=&=&=&=&=&=&=&=&=&=&=&_w:2.75%3B&=%3B&@_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:6.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=


==Normalisation et Collator==
==Normalisation et Collator==

Version du 4 avril 2018 à 22:58

Lien

latin et ponctuation

http://www.keyboard-layout-editor.com/##@_name=latin%20et%20ponctuation%3B&@_a:7%3B&=&=&_a:5%3B&=%0A%E2%80%B9&=%0A%E2%80%BA&_a:7%3B&=&=&=&=&_a:5%3B&=%0A%5B-%5D&_a:7%3B&=&=&=&=&_w:2%3B&=%3B&@_w:1.5%3B&=&=&=&=&=&=&=&=&_a:5%3B&=%C3%90%0A%C3%B0&_a:7%3B&=&_a:5%3B&=%C4%B2%0Aij&=%C6%B7%0A%CA%92&_a:7%3B&=&_x:0.25&w:1.25&h:2&w2:1.5&h2:1&x2:-0.25%3B&=%3B&@_w:1.75%3B&=&=&=&=&_a:5%3B&=%C6%8F%0A%C9%99&_a:7%3B&=&_a:5%3B&=%CF%B4%0A%CE%B8&=%C3%9E%0A%C3%BE&=%E1%BA%9E%0A%C3%9F&_a:7%3B&=&_a:5%3B&=%C5%8A%0A%C5%8B&_a:7%3B&=&=%3B&@_w:1.25%3B&=&=&=&_t=%23000000%0A%0A%23369ae3&a:4&fa@:0&:0&:9%3B%3B&=%0A%0A%CA%BB&=%0A%0A%CA%BC&_t=%23000000&a:7%3B&=&=&=&_t=%23000000%0A%23369ae3&a:5&f2:9%3B&=%0A%CA%BC&_t=%23000000&a:7%3B&=&=&=&_w:2.75%3B&=%3B&@_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:6.25%3B&=%5Bespace%20cadratin%5D&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=


scientifique

http://www.keyboard-layout-editor.com/##@_name=symbole%20scientifique%3B&@_a:7%3B&=&=&=&=&=&=&=&=&_a:5%3B&=%0A%E2%88%9E&_a:7%3B&=&=&=&=&_w:2%3B&=%3B&@_w:1.5%3B&=&=&=&=&=&=&=&_a:5%3B&=%E2%88%9A&_a:7%3B&=&=&=&=&=&_x:0.25&w:1.25&h:2&w2:1.5&h2:1&x2:-0.25%3B&=%3B&@_w:1.75%3B&=&=&=&=&=&=&=&=&=&=&=&=&=%3B&@_w:1.25%3B&=&=&=&=&=&=&=&=&=&=&=&=&_w:2.75%3B&=%3B&@_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:6.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=&_w:1.25%3B&=

Normalisation et Collator

import java.text.Normalizer;
import java.text.Collator;
import java.util.Locale;

public class Main {

    public static void testEqualityWithAllNormalizationForm(String a, String b) {
        System.out.println("    Sans normalisation: " + a.equals(b));
        for (Normalizer.Form f : Normalizer.Form.values()) {
            String normalizedMicro = Normalizer.normalize(a, f);
            String normalizedMu = Normalizer.normalize(b, f);
            System.out.println("    " + f.toString() + ": " + normalizedMicro.equals(normalizedMu));
        }
        System.out.println();
    }
    
    public static void main(String[] args) {
        String micro = "µ";
        String mu = "μ";
        System.out.println(micro +" égale "+ mu + " ?");
        testEqualityWithAllNormalizationForm(micro, mu);
        
        String précomposé = "ê";
        String décomposé = "ê";
        System.out.println(précomposé +" égale "+ décomposé + " ?");
        testEqualityWithAllNormalizationForm(précomposé, décomposé);

        String accent1 = "événement";
        String accent2 = "évènement";
        System.out.println("événement égale évènement ?");
        testEqualityWithAllNormalizationForm(accent1, accent2);
        
        int[] decompositionMode = new int[] {
            Collator.NO_DECOMPOSITION,
            Collator.CANONICAL_DECOMPOSITION,
            Collator.FULL_DECOMPOSITION
        };
        int[] strenghValue = new int[] {
            Collator.IDENTICAL,
            Collator.PRIMARY,
            Collator.SECONDARY,
            Collator.TERTIARY
        };
        
        Collator c = Collator.getInstance(Locale.FRENCH);
        for (int decomposition : decompositionMode) {
            c.setDecomposition(decomposition);
            for (int strengh : strenghValue) {
                c.setStrength(strengh);
                System.out.print("    Décompositon: " + decomposition);
                System.out.print(" ; Force: " + strengh);
//                System.out.println("    « égale » ? " + c.equals(accent1, accent2));
                System.out.println("    « égale » ? " + c.equals(précomposé, décomposé));
            }
        }
        System.out.println();
    }
}


<form method=post action="javascript:programme()"> <input type="text" name="neologisme" SIZE=50> <input type="text" name="sens" SIZE=50> <input type="submit" VALUE="Calculer"> </form>


<script language="JavaScript"> </script>

Monétaire

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 
   
 
 
฿
 
 
 
 
 
 
 
 
 
 
 
 
 
£
 
 
 
 
 
 
   
 
   
 
 
 
 
 
 
 
 
 
 
¢
 
 
 
 
 
 
 
   
 
 
 
 
 
 
¥
 
 
 
 
 
 
 
 
 
 
ƒ
   
 
   
Ctrl  
   
Super  
   
Alt  
 
 
   
AltGr  
   
Super  
   
Menu  
   
Ctrl  

Dans YC, même emplacement

₩ ¥ ₪ ₫ ₯ ƒ ₣ ₲ ₴ ₭ ₤ ¢ ₦ ₥ ℳ

Hors couche: €

Dans YC, niveau différent

₰ ₠ ₹ ₨ ₮ ₸ ₳ ฿

Hors couche: £

Dans YC, touche différente

₡ ₧ ₱ ₢ ₵

Hors YC, mais dans le bloc monétaire d’Unicode9

₶ ₺ ₾ ₷ ₻ ₽ ₼

Hors YC, Hors du bloc monétaire

૱ ௹ 圓 ៛ ৲ ؋ 元 ৳ 円