Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MS Excel 无法检测 UTF-8 编码并采取相应措施。这会导致显示乱码的外文字符。因此,作为一种解决方法,我转到 Data->Import->From text 并选择相应的文件,然后选择 UTF-8 编码格式和分隔符为 (,),然后继续正确显示外来字符。但在这种情况下,它不会正确显示换行符(“\n”),如果单元格值包含换行符,它会中断并显示在下一行。有人请为这个问题提出一个解决方案。
要在 Windows 中添加新行,您应该使用 \r\n 到\retur\n。