[Solved] Strange characters when opening a .txt file

Discuss the word processor
Post Reply
mhkiegmann
Posts: 2
Joined: Sun Aug 28, 2016 12:39 am

[Solved] Strange characters when opening a .txt file

Post by mhkiegmann »

When I open the tutorial file (prax-en.txt) there are strange characters in the file. I've been unable to resolve this and I'm hoping someone can help.
Last edited by thomasjk on Sun Aug 28, 2016 5:56 pm, edited 1 time in total.
Reason: Mark thread [Solved] and add green checkmark
OpenOffice 4.1.2 on Windows 8.1
User avatar
Zizi64
Volunteer
Posts: 11510
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Strange characters when opening a .txt file

Post by Zizi64 »

How you adjusted the import filter at opening the .txt file?

The file (downloaded from the link below) works fine for me with my default import filter parameters:
Character set: Eastern Europe (Windows-1250)
Default font: Times New Roman
Language: Hungarian.


http://openoffice-uni.org/
(English - TXT)
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
RoryOF
Moderator
Posts: 35256
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Strange characters when opening a .txt file

Post by RoryOF »

Opened OK for me with Char set UK, Times New Roman and English-UK in Writer 4.1.2. Also OK in Mousepad (system plain text editor)

The only thing I could see, scanning through the file, that might cause any strangeness, was use of some non-breaking spaces.
 Edit: I suggest mhkiegmann should try the download in PDF or in ODT formats. ODT is an archive with integral corruption checking; if the download is bad for some reason it will complain when you try to open it. 
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
esperantisto
Volunteer
Posts: 578
Joined: Mon Oct 08, 2007 1:31 am

Re: Strange characters when opening a .txt file

Post by esperantisto »

Zizi64 wrote: Character set: Eastern Europe (Windows-1250)
Should be UTF-8 actually, as selecting cp-1250 really produces strange characters such as:

Code: Select all

Paragraph Style “Text Body”
AOO 4.2.0 (of 2015) / LO 7.x / Win 7 / openSUSE Linux Leap 15.4 (64-bit)
mhkiegmann
Posts: 2
Joined: Sun Aug 28, 2016 12:39 am

Re: Strange characters when opening a .txt file

Post by mhkiegmann »

Thanks for the replies! It looks like the utf8 removes all the junk for me in the us.
OpenOffice 4.1.2 on Windows 8.1
Post Reply