-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_x000D_ kind of value in string cell should be unescaped #469
Comments
If it helps here is how https://github.com/jmcnamara/rust_xlsxwriter/blob/main/src/xmlwriter.rs#L204-L248 And here is a test file with each of the characters from 0..127: https://github.com/jmcnamara/rust_xlsxwriter/blob/main/tests/input/shared_strings01.xlsx However, as mentioned in the Reference link you need to also handle escaped literal strings which are prefixed by There is a test file for strings like that here: https://github.com/jmcnamara/rust_xlsxwriter/blob/main/tests/input/shared_strings02.xlsx |
You are correct. That is a bug in |
I had a look at submitting a patch for this but it looks like the escaping is handled in I could look into it a bit more but overall I don't know if it is worth it. The escape |
Take this excel value for example, the value is multi line.
After run below code to print the cell value:
Output:
Expected output:
Golang excelize library handle it correctly.
Reference
Book1.xlsx
The text was updated successfully, but these errors were encountered: