UP | HOME |

Listado de caracteres UTF-8 en R

Listado de caracteres UTF-8 en R

La codificación UTF-8 en R se puede obtener de la siguiente forma

vapply(0:255, intToUtf8, "a")
  [1] ""       "\001"   "\002"   "\003"   "\004"   "\005"   "\006"   "\a"    
  [9] "\b"     "\t"     "\n"     "\v"     "\f"     "\r"     "\016"   "\017"  
 [17] "\020"   "\021"   "\022"   "\023"   "\024"   "\025"   "\026"   "\027"  
 [25] "\030"   "\031"   "\032"   "\033"   "\034"   "\035"   "\036"   "\037"  
 [33] " "      "!"      "\""     "#"      "$"      "%"      "&"      "'"     
 [41] "("      ")"      "*"      "+"      ","      "-"      "."      "/"     
 [49] "0"      "1"      "2"      "3"      "4"      "5"      "6"      "7"     
 [57] "8"      "9"      ":"      ";"      "<"      "="      ">"      "?"     
 [65] "@"      "A"      "B"      "C"      "D"      "E"      "F"      "G"     
 [73] "H"      "I"      "J"      "K"      "L"      "M"      "N"      "O"     
 [81] "P"      "Q"      "R"      "S"      "T"      "U"      "V"      "W"     
 [89] "X"      "Y"      "Z"      "["      "\\"     "]"      "^"      "_"     
 [97] "`"      "a"      "b"      "c"      "d"      "e"      "f"      "g"     
[105] "h"      "i"      "j"      "k"      "l"      "m"      "n"      "o"     
[113] "p"      "q"      "r"      "s"      "t"      "u"      "v"      "w"     
[121] "x"      "y"      "z"      "{"      "|"      "}"      "~"      "\177"  
[129] "\u0080" "\u0081" "\u0082" "\u0083" "\u0084" "\u0085" "\u0086" "\u0087"
[137] "\u0088" "\u0089" "\u008a" "\u008b" "\u008c" "\u008d" "\u008e" "\u008f"
[145] "\u0090" "\u0091" "\u0092" "\u0093" "\u0094" "\u0095" "\u0096" "\u0097"
[153] "\u0098" "\u0099" "\u009a" "\u009b" "\u009c" "\u009d" "\u009e" "\u009f"
[161] " "      "¡"      "¢"      "£"      "¤"      "¥"      "¦"      "§"     
[169] "¨"      "©"      "ª"      "«"      "¬"      "­"      "®"      "¯"     
[177] "°"      "±"      "²"      "³"      "´"      "µ"      "¶"      "·"     
[185] "¸"      "¹"      "º"      "»"      "¼"      "½"      "¾"      "¿"     
[193] "À"      "Á"      "Â"      "Ã"      "Ä"      "Å"      "Æ"      "Ç"     
[201] "È"      "É"      "Ê"      "Ë"      "Ì"      "Í"      "Î"      "Ï"     
[209] "Ð"      "Ñ"      "Ò"      "Ó"      "Ô"      "Õ"      "Ö"      "×"     
[217] "Ø"      "Ù"      "Ú"      "Û"      "Ü"      "Ý"      "Þ"      "ß"     
[225] "à"      "á"      "â"      "ã"      "ä"      "å"      "æ"      "ç"     
[233] "è"      "é"      "ê"      "ë"      "ì"      "í"      "î"      "ï"     
[241] "ð"      "ñ"      "ò"      "ó"      "ô"      "õ"      "ö"      "÷"     
[249] "ø"      "ù"      "ú"      "û"      "ü"      "ý"      "þ"      "ÿ"

Si deseamos una descripción de cada símbolo, podemos usar este procedimiento para descargar el nombre de cada carácter.

suppressMessages(library(tidyverse))
suppressMessages(library(rvest))

url <- "https://www.utf8-chartable.de/unicode-utf8-table.pl?utf8=bin"

utf8_enc <- url %>%
    read_html() %>%
    html_nodes(css = 'body > table.codetable') %>%
    html_table() %>% .[[1]]

utf8_enc[, c("character","name")]

    character                                       name
1                                              <control>
2                                              <control>
3                                              <control>
4                                              <control>
5                                              <control>
6                                              <control>
7                                              <control>
8                                              <control>
9                                              <control>
10                                             <control>
11                                             <control>
12                                             <control>
13                                             <control>
14                                             <control>
15                                             <control>
16                                             <control>
17                                             <control>
18                                             <control>
19                                             <control>
20                                             <control>
21                                             <control>
22                                             <control>
23                                             <control>
24                                             <control>
25                                             <control>
26                                             <control>
27                                             <control>
28                                             <control>
29                                             <control>
30                                             <control>
31                                             <control>
32                                             <control>
33                                                 SPACE
34          !                           EXCLAMATION MARK
35          "                             QUOTATION MARK
36          #                                NUMBER SIGN
37          $                                DOLLAR SIGN
38          %                               PERCENT SIGN
39          &                                  AMPERSAND
40          '                                 APOSTROPHE
41          (                           LEFT PARENTHESIS
42          )                          RIGHT PARENTHESIS
43          *                                   ASTERISK
44          +                                  PLUS SIGN
45          ,                                      COMMA
46          -                               HYPHEN-MINUS
47          .                                  FULL STOP
48          /                                    SOLIDUS
49          0                                 DIGIT ZERO
50          1                                  DIGIT ONE
51          2                                  DIGIT TWO
52          3                                DIGIT THREE
53          4                                 DIGIT FOUR
54          5                                 DIGIT FIVE
55          6                                  DIGIT SIX
56          7                                DIGIT SEVEN
57          8                                DIGIT EIGHT
58          9                                 DIGIT NINE
59          :                                      COLON
60          ;                                  SEMICOLON
61          <                             LESS-THAN SIGN
62          =                                EQUALS SIGN
                         GREATER-THAN SIGN
64          ?                              QUESTION MARK
65          @                              COMMERCIAL AT
66          A                     LATIN CAPITAL LETTER A
67          B                     LATIN CAPITAL LETTER B
68          C                     LATIN CAPITAL LETTER C
69          D                     LATIN CAPITAL LETTER D
70          E                     LATIN CAPITAL LETTER E
71          F                     LATIN CAPITAL LETTER F
72          G                     LATIN CAPITAL LETTER G
73          H                     LATIN CAPITAL LETTER H
74          I                     LATIN CAPITAL LETTER I
75          J                     LATIN CAPITAL LETTER J
76          K                     LATIN CAPITAL LETTER K
77          L                     LATIN CAPITAL LETTER L
78          M                     LATIN CAPITAL LETTER M
79          N                     LATIN CAPITAL LETTER N
80          O                     LATIN CAPITAL LETTER O
81          P                     LATIN CAPITAL LETTER P
82          Q                     LATIN CAPITAL LETTER Q
83          R                     LATIN CAPITAL LETTER R
84          S                     LATIN CAPITAL LETTER S
85          T                     LATIN CAPITAL LETTER T
86          U                     LATIN CAPITAL LETTER U
87          V                     LATIN CAPITAL LETTER V
88          W                     LATIN CAPITAL LETTER W
89          X                     LATIN CAPITAL LETTER X
90          Y                     LATIN CAPITAL LETTER Y
91          Z                     LATIN CAPITAL LETTER Z
92          [                        LEFT SQUARE BRACKET
93         \\                            REVERSE SOLIDUS
94          ]                       RIGHT SQUARE BRACKET
95          ^                          CIRCUMFLEX ACCENT
96          _                                   LOW LINE
97          `                               GRAVE ACCENT
98          a                       LATIN SMALL LETTER A
99          b                       LATIN SMALL LETTER B
100         c                       LATIN SMALL LETTER C
101         d                       LATIN SMALL LETTER D
102         e                       LATIN SMALL LETTER E
103         f                       LATIN SMALL LETTER F
104         g                       LATIN SMALL LETTER G
105         h                       LATIN SMALL LETTER H
106         i                       LATIN SMALL LETTER I
107         j                       LATIN SMALL LETTER J
108         k                       LATIN SMALL LETTER K
109         l                       LATIN SMALL LETTER L
110         m                       LATIN SMALL LETTER M
111         n                       LATIN SMALL LETTER N
112         o                       LATIN SMALL LETTER O
113         p                       LATIN SMALL LETTER P
114         q                       LATIN SMALL LETTER Q
115         r                       LATIN SMALL LETTER R
116         s                       LATIN SMALL LETTER S
117         t                       LATIN SMALL LETTER T
118         u                       LATIN SMALL LETTER U
119         v                       LATIN SMALL LETTER V
120         w                       LATIN SMALL LETTER W
121         x                       LATIN SMALL LETTER X
122         y                       LATIN SMALL LETTER Y
123         z                       LATIN SMALL LETTER Z
124         {                         LEFT CURLY BRACKET
125         |                              VERTICAL LINE
126         }                        RIGHT CURLY BRACKET
127         ~                                      TILDE
128                                            <control>
129                                            <control>
130                                            <control>
131                                            <control>
132                                            <control>
133                                            <control>
134                                            <control>
135                                            <control>
136                                            <control>
137                                            <control>
138                                            <control>
139                                            <control>
140                                            <control>
141                                            <control>
142                                            <control>
143                                            <control>
144                                            <control>
145                                            <control>
146                                            <control>
147                                            <control>
148                                            <control>
149                                            <control>
150                                            <control>
151                                            <control>
152                                            <control>
153                                            <control>
154                                            <control>
155                                            <control>
156                                            <control>
157                                            <control>
158                                            <control>
159                                            <control>
160                                            <control>
161                                       NO-BREAK SPACE
162         ¡                  INVERTED EXCLAMATION MARK
163         ¢                                  CENT SIGN
164         £                                 POUND SIGN
165         ¤                              CURRENCY SIGN
166         ¥                                   YEN SIGN
167         ¦                                 BROKEN BAR
168         §                               SECTION SIGN
169         ¨                                  DIAERESIS
170         ©                             COPYRIGHT SIGN
171         ª                 FEMININE ORDINAL INDICATOR
172         «  LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
173         ¬                                   NOT SIGN
174         ­                                SOFT HYPHEN
175         ®                            REGISTERED SIGN
176         ¯                                     MACRON
177         °                                DEGREE SIGN
178         ±                            PLUS-MINUS SIGN
179         ²                            SUPERSCRIPT TWO
180         ³                          SUPERSCRIPT THREE
181         ´                               ACUTE ACCENT
182         µ                                 MICRO SIGN
183         ¶                               PILCROW SIGN
184         ·                                 MIDDLE DOT
185         ¸                                    CEDILLA
186         ¹                            SUPERSCRIPT ONE
187         º                MASCULINE ORDINAL INDICATOR
188         » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
189         ¼                VULGAR FRACTION ONE QUARTER
190         ½                   VULGAR FRACTION ONE HALF
191         ¾             VULGAR FRACTION THREE QUARTERS
192         ¿                     INVERTED QUESTION MARK
193         À          LATIN CAPITAL LETTER A WITH GRAVE
194         Á          LATIN CAPITAL LETTER A WITH ACUTE
195         Â     LATIN CAPITAL LETTER A WITH CIRCUMFLEX
196         Ã          LATIN CAPITAL LETTER A WITH TILDE
197         Ä      LATIN CAPITAL LETTER A WITH DIAERESIS
198         Å     LATIN CAPITAL LETTER A WITH RING ABOVE
199         Æ                    LATIN CAPITAL LETTER AE
200         Ç        LATIN CAPITAL LETTER C WITH CEDILLA
201         È          LATIN CAPITAL LETTER E WITH GRAVE
202         É          LATIN CAPITAL LETTER E WITH ACUTE
203         Ê     LATIN CAPITAL LETTER E WITH CIRCUMFLEX
204         Ë      LATIN CAPITAL LETTER E WITH DIAERESIS
205         Ì          LATIN CAPITAL LETTER I WITH GRAVE
206         Í          LATIN CAPITAL LETTER I WITH ACUTE
207         Î     LATIN CAPITAL LETTER I WITH CIRCUMFLEX
208         Ï      LATIN CAPITAL LETTER I WITH DIAERESIS
209         Ð                   LATIN CAPITAL LETTER ETH
210         Ñ          LATIN CAPITAL LETTER N WITH TILDE
211         Ò          LATIN CAPITAL LETTER O WITH GRAVE
212         Ó          LATIN CAPITAL LETTER O WITH ACUTE
213         Ô     LATIN CAPITAL LETTER O WITH CIRCUMFLEX
214         Õ          LATIN CAPITAL LETTER O WITH TILDE
215         Ö      LATIN CAPITAL LETTER O WITH DIAERESIS
216         ×                        MULTIPLICATION SIGN
217         Ø         LATIN CAPITAL LETTER O WITH STROKE
218         Ù          LATIN CAPITAL LETTER U WITH GRAVE
219         Ú          LATIN CAPITAL LETTER U WITH ACUTE
220         Û     LATIN CAPITAL LETTER U WITH CIRCUMFLEX
221         Ü      LATIN CAPITAL LETTER U WITH DIAERESIS
222         Ý          LATIN CAPITAL LETTER Y WITH ACUTE
223         Þ                 LATIN CAPITAL LETTER THORN
224         ß                 LATIN SMALL LETTER SHARP S
225         à            LATIN SMALL LETTER A WITH GRAVE
226         á            LATIN SMALL LETTER A WITH ACUTE
227         â       LATIN SMALL LETTER A WITH CIRCUMFLEX
228         ã            LATIN SMALL LETTER A WITH TILDE
229         ä        LATIN SMALL LETTER A WITH DIAERESIS
230         å       LATIN SMALL LETTER A WITH RING ABOVE
231         æ                      LATIN SMALL LETTER AE
232         ç          LATIN SMALL LETTER C WITH CEDILLA
233         è            LATIN SMALL LETTER E WITH GRAVE
234         é            LATIN SMALL LETTER E WITH ACUTE
235         ê       LATIN SMALL LETTER E WITH CIRCUMFLEX
236         ë        LATIN SMALL LETTER E WITH DIAERESIS
237         ì            LATIN SMALL LETTER I WITH GRAVE
238         í            LATIN SMALL LETTER I WITH ACUTE
239         î       LATIN SMALL LETTER I WITH CIRCUMFLEX
240         ï        LATIN SMALL LETTER I WITH DIAERESIS
241         ð                     LATIN SMALL LETTER ETH
242         ñ            LATIN SMALL LETTER N WITH TILDE
243         ò            LATIN SMALL LETTER O WITH GRAVE
244         ó            LATIN SMALL LETTER O WITH ACUTE
245         ô       LATIN SMALL LETTER O WITH CIRCUMFLEX
246         õ            LATIN SMALL LETTER O WITH TILDE
247         ö        LATIN SMALL LETTER O WITH DIAERESIS
248         ÷                              DIVISION SIGN
249         ø           LATIN SMALL LETTER O WITH STROKE
250         ù            LATIN SMALL LETTER U WITH GRAVE
251         ú            LATIN SMALL LETTER U WITH ACUTE
252         û       LATIN SMALL LETTER U WITH CIRCUMFLEX
253         ü        LATIN SMALL LETTER U WITH DIAERESIS
254         ý            LATIN SMALL LETTER Y WITH ACUTE
255         þ                   LATIN SMALL LETTER THORN
256         ÿ        LATIN SMALL LETTER Y WITH DIAERESIS