Describe the bug
When text in the cell contains escaped characters written like ', & etc - some of them are converted (< becomes < etc) while others are not (& remains the same).
To Reproduce
Create an xlsx file with the following text in the cell:
B&J @ 12 O' clock. It's < 3
run the code:
dt1 <- openxlsx::read.xlsx(fn1);
dt1$col1
Expected behavior
Ideally, should have the content unchanged:
B&J @ 12 O' clock. It's < 3
At worst, should convert all such characters in the same way:
B&J @ 12 O' clock. It's < 3
Screenshots
Note that other packages (openxlsx2, readxl) treat it correctly.
Describe the bug
When text in the cell contains escaped characters written like
',&etc - some of them are converted (<becomes<etc) while others are not (&remains the same).To Reproduce
Create an xlsx file with the following text in the cell:
B&J @ 12 O' clock. It's < 3run the code:
Expected behavior
Ideally, should have the content unchanged:
B&J @ 12 O' clock. It's < 3At worst, should convert all such characters in the same way:
B&J @ 12 O' clock. It's < 3Screenshots
Note that other packages (openxlsx2, readxl) treat it correctly.