International Text input
I've tested and just bought SmartPill a half hour ago. Impressive with features & idea.
But I still wonder I can't get Thai text result.
Such
// Execute the code in the PHP_Code field
PHP_Execute( PHP_Code )
//The obligatory Thai version of Hello World!
echo 'สวัสดีชาวโลก!';
Result
______! (I see blank characters but replace with underscores)
Any suggestion?
I've tried to change fields to unicode & text that support Thai characters but still not work.
Best
Jedt S.
International Text input
Hello Jedt,
I'm afraid the plug-in is limited to receiving characters in the ISO-8559-1 character set. We're hoping to be able to support Unicode when PHP 6 is released.
The only work around that I know of is to use FileMaker to export your text to file and then read the file from within your PHP code. We can't get Unicode into PHP from FileMaker but PHP can read Unicode characters from file.
Thanks for your purchase.
Regards,
Micah
Rich Text Support
It would be great to get this working. I just ran into a much simpler problem where I am loosing bullet characters while using the PHP plug-in to transform field contents.
Would there be any chance of an intermediate solution? Maybe something that transforms the characters to HTML entities and then back afterwords? (Just thinking out loud here.)
Can We Manually Change the Encoding?
Does this PHP function have any impact?
http://us2.php.net/manual/en/function.iconv-set-encoding.php
--
Regards,
Sean Mills
Grantwood Technology LLC
http://www.grantwoodtechnology.com
Can We Manually Change the Encoding?
It's been a while since I worked on this issue but I think this is something I tried and didn't have any luck. The issue is actually getting the characters from FM to PHP. This is high on our list once PHP 6 is released.
Regards,
Micah
ISO-8559-1 Character Set
Is the ISO-8559-1 character set a limitation of FileMaker's plugin architecture? PHP 5?
--
Regards,
Sean Mills
Grantwood Technology LLC
http://www.grantwoodtechnology.com
ISO-8559-1 Character Set
The API supports Unicode, the problem we're having is on the PHP side. I really hope we can solve it when 6 comes out.
Regards,
Micah