ijaraho wrote on Saturday, April 17, 2010:
hi,
the tool Formscript is working fine, and I can write in Arabic language correctly, but when I return to what I wrote I see incorrect letters like this: عÙ�Ù�Ù�Ø© Ù�رارة for: عملية مرارة
ijaraho wrote on Saturday, April 17, 2010:
hi,
the tool Formscript is working fine, and I can write in Arabic language correctly, but when I return to what I wrote I see incorrect letters like this: عÙ�Ù�Ù�Ø© Ù�رارة for: عملية مرارة
ijaraho wrote on Saturday, April 17, 2010:
excuse me I will say that :
- collection of my database is: utf8_general_ci
- I use windows xp, Firefox
bradymiller wrote on Saturday, April 17, 2010:
hey,
Is this within OpenEMR? Or are you looking at the raw files?
-brady
ijaraho wrote on Sunday, April 18, 2010:
yes this within OpenEMR
bradymiller wrote on Sunday, April 18, 2010:
hi,
In the report.php script, try the following (basically removing the ucwords() function call):
Change:
$key=ucwords(str_replace("_"," ",$key));
To:
$key=str_replace("_"," ",$key);
let us know if if works,
-brady
ijaraho wrote on Sunday, April 18, 2010:
hi,
- it’s not working
- in view mode, it’s correct. but in editing mode, it appear incorrectly, like this: Chief complaints: عÙ�Ù�Ù�Ø© بØصة
bradymiller wrote on Monday, April 19, 2010:
hey,
Tested arabic characters on ubuntu and worked fine with no issues. Haven’t had chance to try on windows. Guessing the output files are not UTF-8 encoded, but not sure. If possible, send me you form files (in a zip package) including the original file that formscript.pl built the forms from. (send them to brady@sparmy.com).
Also, just so you know, there’s another new mechanism to create custom based forms within OpenEMR:
http://www.openmedsoftware.org/wiki/LBV_Forms
-brady
ijaraho wrote on Monday, April 19, 2010:
thank you brady,
I sand the form files to you by email.
bradymiller wrote on Monday, April 19, 2010:
hey,
thanks for sending your files, helped me localize the bug. Here’s a new formscript.pl script that fixes this (among other things ; see bug tracker artifact 2988809 for more details):
http://openemr.cvs.sourceforge.net/viewvc/*checkout*/openemr/openemr/contrib/forms/formmaker/formscript.pl?revision=1.18
let me know if nay problems with this script; if test well, then will include in next 3.2 patch.
-brady
ijaraho wrote on Monday, April 19, 2010:
hi,
this site don’t open: http://formscript.pl/
bradymiller wrote on Monday, April 19, 2010:
hey,
Ignore that link (just an error in the message formatting). This is the link (save it as the formscript.pl file):
http://openemr.cvs.sourceforge.net/viewvc/*checkout*/openemr/openemr/contrib/forms/formmaker/formscript.pl?revision=1.18
-brady
bradymiller wrote on Monday, April 19, 2010:
jeez, this forum formatting is killing me. here is the link:
http://openemr.cvs.sourceforge.net/viewvc/*checkout*/openemr/openemr/contrib/forms/formmaker/formscript.pl?revision=1.18
ijaraho wrote on Monday, April 19, 2010:
hi,
sorry, not success with me, may be need more essayed.
thank you brady