is any way to format get_as_text()?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By cnkids

enter image description here
the judegment of inserting the line break is not accurate when i am using file.get_as_text() to get the content, especially in case of mixed use of English and Chinese characters or after a punctuation marks. Is there a solution?