-
Notifications
You must be signed in to change notification settings - Fork 503
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
New line in cell can create _x000D_ #223
Comments
Can you create a gist for this issue (sample gist)? Here are some instructions for creating such a gist.
|
Hi, here is my gist https://gist.github.com/yinyangxu/4fb84a0c6fd44784c3a4. |
@yinyangxu Actually, Roo didn't add the I've submitted a pull request (#231) that fixes the issue. |
What the reason then in #231 ? |
I don't know for certain what causes the From my understanding, these characters are invalid representations of normal strings or characters. In this case It's also possible that more of these issues might appear in the future. It seems pretty rare though. |
@stevendaniels I use 'writeexcel' lib to create the Excel file which contains the new line in cell. Then i open it use MS Excel 2007 and save it as xlsx format. It's ok when reading the xlsx file with python xlrd lib or MS Excel 2007, but it shows the bug character x000D when i using roo lib. |
This sounds like it may be an issue with that library (and the library it is based on). |
Maybe. But the bug.xlsx file looks ok when reading it with MS Excel 2007 or python xlrd lib except for roo. |
@yinyangxu Sounds to me like xls to xlsx conversion with Chinese text might be what's causing the issue. Thanks for your help. I've merged a fix to master. |
I Just have same bug, but with Excel 2011 ou 2016 for mac. I create a file, with 2 sheet, One with data, a text with new line. In my first file i use VLOOKUP to get text from the other sheet. I save with xls then xlsx. Could you use this patch for all sheet ? |
This issue was fixed incorrectly. |
This issue was fixed incorrectly. I have the save ploblem and the issue concern the "\r" implementation on xlsx.
On Excel i have:
Case 2 with "\r\n":
On Excel i have:
|
Some types of new lines in excel-cell looks ok in excel, but adds
x000D when imported with Roo::Excelx
which much like the issue here tidyverse/readxl#51
The text was updated successfully, but these errors were encountered: