Html special character conversion
Converts 'txt' so that (the most common) special characters (like 'beta','micro','square' etc) will be displayed correctly whe used for display in html (eg at mouse-over).
Note : The package stringi is required for the conversions (the input will get returned if stringi
is not available).
htmlSpecCharConv(txt, callFrom = NULL)
txt |
character vector inclusing special characters |
callFrom |
(character) allow easier tracking of message produced |
corrected character vector adopted to html display
(x <- stringi::stri_unescape_unicode("\\u00b5\\u003d\\u0061\\u0062")) htmlSpecCharConv(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.