Peter TB Brett wrote:
On 08/06/2016 18:15, Richard Gaskin wrote:
How can one use UTF-8-encoded files with LC Server and have the encoding
preserved?

See this thread for background:
http://forums.livecode.com/viewtopic.php?f=15&t=27385

Try putting the string "encoding: utf-8" somewhere in the first or
second line of the server source file.

Thanks. That'll help for new pages created for LC Server, but the challenge that user has is she also has many legacy pages in which she hasn't yet added LC tags, and she's like to have the UTF-8 encoding preserved when LC returns them to Apache.

Is there a way to specify default output encoding with LC Server? Should there be? UTF-8 seems to be the most commonly used by other other systems.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to