Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2814 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

My webshop server has changed from the default ISO-8859-1 to UTF-8. My existing scripts in FM11 Pro Advanced says:

<xsl:variable name="CRLF">
<xsl:text>&#x000D;&#x000A;</xsl:text>
</xsl:variable>

What codes should I write to change it to UTF-8?

Posted
1 hour ago, Kurt Hansen said:

My existing scripts in FM11 Pro Advanced says:

I think you are referring to an XSLT stylesheet, not to a  Filemaker script?

 

1 hour ago, Kurt Hansen said:

What codes should I write to change it to UTF-8?

None in the quoted passage. You might want to look at the encoding attribute of the xsl:output instruction, though.

Posted (edited)
1 hour ago, Kurt Hansen said:

What codes should I write to change it to UTF-8?

If you would like help; Please show your script; usually on the top of stylesheets the output is defined( as on the 3rd line in the paste below )

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

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmp="http://www.filemaker.com/fmpxmlresult" version="1.0">

    <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/>

There should be no need for CRLF these days; unless you use an old matrix printer, CRLF is for old matrix printers. All systems after Windows 2000, MacOS X and linux of 2000 should comply to Unicode standards. There should really not be any reason to use legacy ANSI or ISO-8859-n this side of the year 2000.

Edited by ggt667

This topic is 2814 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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