Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Converting .odt to .txt for G1 mobile phone
Converting .odt to .txt for G1 mobile phone
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
mickblueduck
Red Pill


Joined: Jun 11, 2009
Posts: 8

PostPosted: Wed Jun 17, 2009 12:51 pm    Post subject: Converting .odt to .txt for G1 mobile phone

Is there a way to convert a formatted .odt file into a completely unformatted .txt file in Neo Office. I have tried saving as a .txt from NeoOffice but it seems to retain formatting code when I view it on my mobile phone (G1/Google phone) using the app AK Notepad?
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jun 17, 2009 1:03 pm    Post subject:

I see no formatting codes when NeoOffice saves as .txt. Are you sure that AK Notepad expects Windows new line characters? Since NeoOffice is a Mac OS X application, it saves .txt files with the Unix/Mac OS X newline character, not the Windows characters.

Edit: If you any non-ASCII characters in your document, are the "formatting codes" you see where the non-ASCII characters should be?

Patrick
Back to top
mickblueduck
Red Pill


Joined: Jun 11, 2009
Posts: 8

PostPosted: Wed Jun 17, 2009 3:29 pm    Post subject:

Sorry I have mixed up my mobile devices as I have been switching around so many times and ways to try and get the .txt files to display properly.

1. Where I see the formatting code is when the .txt file is displayed thru uing Notes on my (5th Generation) Ipod...?

2. On my mobile (G1) the .txt file does not show formatting code, but has extra spaces between all the letters? I don't have any Windows apps (I don't think) as it's all done on my Mac and on my G1 (which is Android/OpenSource)...
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Wed Jun 17, 2009 4:03 pm    Post subject:

mickblueduck wrote:
1. Where I see the formatting code is when the .txt file is displayed thru uing Notes on my (5th Generation) Ipod...?

I do not see formatting marks when I save a .txt file to my iPod. Following are the steps I used in NeoOffice:

1. Select the File :: Save As menu

2. In the dialog that opens, give the file a name and choose Text (.txt) from the File Type pull down menu

3. Press the Save button

4. Mount iPod and drag the .txt file to the Notes folder on the iPod

Are you using different steps to create a .txt file?

Also, what version of NeoOffice are you using? You can check the version by selecting the Help :: About NeoOffice menu.

--fran
Back to top
mickblueduck
Red Pill


Joined: Jun 11, 2009
Posts: 8

PostPosted: Wed Jun 17, 2009 4:21 pm    Post subject:

Thanks Narf, I have now got it displaying properly on my Ipod (save for a few Non-ASCI characters which I will remove manually).

Anyone with further ideas for AK Notepad on the G1 please let me know.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jun 17, 2009 6:09 pm    Post subject:

mickblueduck wrote:
Thanks Narf, I have now got it displaying properly on my Ipod (save for a few Non-ASCI characters which I will remove manually).


AK Notepad is probably using a different character set than NeoOffice. NeoOffice, by default, saves .txt files using the UTF-8 character set but some applications assume files are in the ISO-8859-1 or Mac Roman character set. So, you might want to see if there is a preference in AK Notepad for using the UTF-8 character set when opening .txt files.

Patrick
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed Jun 17, 2009 9:30 pm    Post subject:

FWIW, "spaces between the letters" is sometimes a symptom of attempting to display a UTF-16-encoded document as if it were UTF-8.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.