Your comments
Can you reproduce it reliably?
11 years ago
This should already be the case.
I slightly changed the undo behavior in Textastic 3.0 which is currently waiting for review at Apple and should be available on the Mac App Store in a few days. Please let me know if the new version still has this problem once it is released.
I slightly changed the undo behavior in Textastic 3.0 which is currently waiting for review at Apple and should be available on the Mac App Store in a few days. Please let me know if the new version still has this problem once it is released.
I added it to version 3.0 of Textastic for Mac (currently waiting for review at Apple) and plan to add it to the iOS version.
Thanks for the example file. The encoding routine didn't properly handle the standalone attribute that follows the encoding attribute in the XML header.
This bug will be fixed in the next update.
This bug will be fixed in the next update.
Hello,
if you have a website open in Safari, you can replace the "http://" part with "textastic://" and hit return. This will download the website in Textastic.
This is documented in more detail at the bottom of this page: http://www.textasticapp.com/v4/manual/x-callback-u...
if you have a website open in Safari, you can replace the "http://" part with "textastic://" and hit return. This will download the website in Textastic.
This is documented in more detail at the bottom of this page: http://www.textasticapp.com/v4/manual/x-callback-u...
Hi,
the default encoding is only used when creating new files. Opening existing files detects the encoding as described above.
Can you please send me the XML file to support@textasticapp.com so I can try it here?
the default encoding is only used when creating new files. Opening existing files detects the encoding as described above.
Can you please send me the XML file to support@textasticapp.com so I can try it here?
Hello,
this is how the encoding is detected:
Textastic first tries to detect the file encoding by reading the "com.apple.TextEncoding" extended attribute from the file system. This attribute is set by some apps like TextEdit (and Textastic).
If there is no extended attribute, it tries to read the Byte Order Mark (BOM).
If there is no BOM, it tries to detect the text encoding from the actual file data: To detect encodings of HTML or XML files, it first tries to find "charset=" or "encoding=" strings in the file and uses the encoding specified there. Does your XML file contain "charset=" or "encoding=" strings?
If none of the above worked, UTF-8 is tried.
If UTF-8 does not work, it tries some other encodings like ISO-Latin-1.
this is how the encoding is detected:
Textastic first tries to detect the file encoding by reading the "com.apple.TextEncoding" extended attribute from the file system. This attribute is set by some apps like TextEdit (and Textastic).
If there is no extended attribute, it tries to read the Byte Order Mark (BOM).
If there is no BOM, it tries to detect the text encoding from the actual file data: To detect encodings of HTML or XML files, it first tries to find "charset=" or "encoding=" strings in the file and uses the encoding specified there. Does your XML file contain "charset=" or "encoding=" strings?
If none of the above worked, UTF-8 is tried.
If UTF-8 does not work, it tries some other encodings like ISO-Latin-1.
Customer support service by UserEcho