Ajout des travaux effectuer

This commit is contained in:
2024-12-09 11:53:11 +01:00
parent 05fac8d3ae
commit c4e97e13da
558 changed files with 67900 additions and 0 deletions

11
23SCR/encodage Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <caractère>"
exit 1
fi
caractere="$1"
encodage_utf8=$(printf "%s" "$caractere" | iconv -t UTF-8 | hexdump -C | awk '{print $2}' | tr -d '\n')
echo "L'encodage UTF-8 de '$caractere' est : 0x$encodage_utf8"