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.

BOM (Byte Order Mark)

Featured Replies

Hello

I'm using FusionCharts Free to include charts in a FileMaker 9 application. So I have to create 2 files, an html one an an xml one, the last containing datas from my database.

To create the xml file I use the following code

Define variable($xml_code;"



   

   

    

   

  

  

  



"


Then, in a second time I use the SMaster function to write that file as data.xml


//This simple version uses utf-8

//new File( filePath ).write( textToWrite );



//This more advanced version allows you to specify the character encoding

OutputStreamWriter writer = new OutputStreamWriter( new FileOutputStream( filePath ), "utf-8" );

writer.write( textToWrite );

writer.close();

return true;

It works but when the html takes the data.xml, all accented chars are not correct as you see on the screen copy; I've read that it was because there were not the BOM in the data.xml file.

But I don't know how to include it from FileMaker.

Thanks for your help

Noël

I've just found a solution (perhaps it's not the best and I don't mark that question as solved) ;) replace utf-8 by 8859_1 in the script of SM..

Image_4.png

Edited by Guest

Noel, if that fixed it, then I suspect that the library that was generating the charts is incompatible with UTF-8. In that case, your fix is probably the best option.

  • Author

Hello,

I'm not strong enough to verify your idea ! The product used is FusionCharts in its free version...

So, I'll stay on my way to fix my problem.

Thanks

Noël

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.