Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

simple export text anomaly

Featured Replies

FM11Adv Mac 10.6.4

I have calc(s) that returns data suitably html encoded , and saves a page as a .html file. Basically it is a page generator.

Export a single field contents is used to create a text file with a .html extension

All works except for some weirdness seemingly buried and invisible in the doc declaration.

A simple standard skeletal XHTML 1.1 page code, copied straight out of SEEdit, and pasted into a global, then using export field contents, mutates the code such that validator thinks it might be 1.0 and at times (in testing variations) that it needs a title

It is something to do with the first line of the doc dec, the string is 38 characters

when field contents are exported it looks exactly the same, but copying the first line of the export and pasting back , although it looks like the same string, the character count becomes 76, or 98 or 152 noticed so far

This is 38 characters

<?xml version="1.0" encoding="UTF-8"?>

exporting the field contents above as aa.html, then opening the aa.html in an xhtml editor (SEEdit), it looks like this

��<

See if this helps:

http://fmforums.com/forum/showtopic.php?tid/202393/post/321101/#321101

  • Author

thanks

I have one field, one record, all I want is the equivalent of copy paste into a text doc

Not exactly: if you copy and paste into a text document, then save it as UTF-16 encoded, you will get the same result. You could try exporting as tab-delimited (I don't suppose you have any tabs in a HTML page)*, or use AppleScript to create the document - but really, XML/XSL is the ideal method to use here.

---

(*) Sorry, that won't work - carriage returns will be converted to vertical tabs.

Edited by Guest

  • Author

i thought something like

copy field in FM then

touch ~/desktop/qq.txt

pbpaste > ~/desktop/qq.txt

may work, but fm clipboard...

touch ~/desktop/qq.txt

open ~/desktop/qq.txt

then manually paste is a half baked solution, compared to the single button click script export and open (mutant) result

xml/xls ; groan

xml/xls ; groan

[shrug]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.