{%hackmd theme-dark %} # macOS keyboard ## macOS use HTML Entity instead of Unicode * **Unicode** -> **HTML Entity** `U+00E4` -> `ä` ## Letters | Capital | Small | C Unicode | S Unicode | C HTML | S HTML | | ------- | ----- | --------- | --------- | ---------- | ---------- | | Ä | ä | `U+00C4` | `U+00E4` | `Ä` | `ä` | | Ċ | ċ | `U+010A` | `U+010B` | `Ċ` | `ċ` | | Ç | ç | `U+00C7` | `U+00E7` | `Ç` | `ç` | | Ç̇ | ç̇ | `U+0307` | | `̇` | | | Ə | ə | `U+018F` | `U+0259` | `Ə` | `ə` | | Ġ | ġ | `U+0120` | `U+0121` | `Ġ` | `ġ` | | K̇ | k̇ | `U+0307` | | `̇` | | | Ŋ | ŋ | `U+014A` | `U+014B` | `Ŋ` | `ŋ` | | Ö | ö | `U+00D6` | `U+00F6` | `Ö` | `ö` | | Ṗ | ṗ | `U+1E56` | `U+1E57` | `Ṗ` | `ṗ` | | Q̇ | q̇ | `U+0307` | | `̇` | | | Ş | ş | `U+015E` | `U+015F` | `Ş` | `ş` | | Ṫ | ṫ | `U+1E6A` | `U+1E6B` | `Ṫ` | `ṫ` | | Ü | ü | `U+00DC` | `U+00FC` | `Ü` | `ü` | | Ẋ | ẋ | `U+1E8A` | `U+1E8B` | `Ẋ` | `ẋ` | | Ƶ | ƶ | `U+01B5` | `U+01B6` | `Ƶ` | `ƶ` | ## Icons ### Script to generate `.icns` file from `.png` ```bash= #!/bin/bash input_filepath="chechen_latin_layout_1024x1024.png" output_iconset_name="chechen_latin_layout.iconset" mkdir $output_iconset_name sips -z 16 16 $input_filepath --out "${output_iconset_name}/icon_16x16.png" sips -z 32 32 $input_filepath --out "${output_iconset_name}/icon_16x16@2x.png" sips -z 32 32 $input_filepath --out "${output_iconset_name}/icon_32x32.png" sips -z 64 64 $input_filepath --out "${output_iconset_name}/icon_32x32@2x.png" sips -z 128 128 $input_filepath --out "${output_iconset_name}/icon_128x128.png" sips -z 256 256 $input_filepath --out "${output_iconset_name}/icon_128x128@2x.png" sips -z 256 256 $input_filepath --out "${output_iconset_name}/icon_256x256.png" sips -z 512 512 $input_filepath --out "${output_iconset_name}/icon_256x256@2x.png" sips -z 512 512 $input_filepath --out "${output_iconset_name}/icon_512x512.png" iconutil -c icns $output_iconset_name rm -R $output_iconset_name ```