Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cesar
  Where is Cesar?
 
 Brazil
 Cesar
 To: mohammed qasem
  Where is mohammed qasem?
 amman
 Jordan
 mohammed qasem
 Tags
Subject: RE: foxypreviewer
Thread ID: 330482 Message ID: 331177 # Views: 58 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Tuesday, December 27, 2011 3:04:08 PM         
   


> hello,
> pl's see attachment,
>
> i included cnv_cword.dbf
> i used this table to convert Dos Arabic characters to Windows Arabic characters
>
> screenshots1 && bad result
>
> screenshots2 && ok
>
> thanks

> https://www.foxite.com/uploads/fda9ed22-9d7a-447a-ad85-7bc897531bb1.rar


Thanks,

Please run FoxyPreviewer again, and save your report as XML, not XLS !

DO FOXYPREVIEWER.APP
WITH _Screen.oFoxyPreviewer
   .cExcelDefaultExtension = "XML"
   .lExcelConvertToXLS = .F.
ENDWITH
REPORT FORM yourReport PREVIEW


Then, save your report as Excel type, using the XML extension, this is VERY IMPORTANT !
After that, please try to open that XML using Excel, probably the same problem will persist.

You can now make some tests:
- Open the XML file using NOTEPAD, edit the first line of the XML document, and try changing the

You need to update the first line, providing the correct encoding:
For my case, for Latin characters, I have here:

?xml version="1.0" encoding="ISO-8859-1"?

Now please try by yourself, and tell me if one of the below will give you better results, so that I can update FoxyPreviewer to support the arabic characters easilly:


?xml version="1.0" encoding="Windows-1256"?
?xml version="1.0" encoding="ISO-8859-6"?
?xml version="1.0" encoding="UTF-8"?


Dont forget to keep the "<" and ">" I could not put them here because Foxite would remove the formatting.
You could also create a simple XML in your computer, that has Arabic characters, and check what encoding worked for you.

Hope to hear from you.

Regards,

m.Cesar
My Blog

ENTIRE THREAD

foxypreviewer Posted by mohammed qasem @ 12/20/2011 10:46:11 AM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 12:57:11 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/20/2011 1:05:55 PM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 1:10:49 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/20/2011 1:34:39 PM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 1:37:29 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/20/2011 2:09:29 PM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 2:11:46 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/20/2011 2:13:19 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/22/2011 9:14:43 AM
RE: foxypreviewer Posted by Cesar @ 12/22/2011 12:44:30 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/26/2011 10:20:59 AM
RE: foxypreviewer Posted by Cesar @ 12/27/2011 3:04:08 PM
RE: foxypreviewer Posted by Cesar @ 12/28/2011 6:03:51 AM
RE: foxypreviewer Posted by mohammed qasem @ 12/27/2011 2:34:44 PM
RE: foxypreviewer Posted by Cesar @ 12/27/2011 3:06:26 PM
RE: foxypreviewer Posted by Cesar @ 12/29/2011 5:23:32 AM
RE: foxypreviewer Posted by mohammed qasem @ 12/29/2011 6:21:30 PM
RE: foxypreviewer Posted by Cesar @ 12/30/2011 3:11:27 AM
RE: foxypreviewer Posted by mohammed qasem @ 12/30/2011 2:09:35 PM
RE: foxypreviewer Posted by Cesar @ 12/30/2011 6:19:57 PM
RE: foxypreviewer Posted by mohammed qasem @ 12/30/2011 6:58:37 PM
RE: foxypreviewer Posted by Cesar @ 12/30/2011 10:38:56 PM
RE: foxypreviewer Posted by michael johnson @ 12/20/2011 1:08:05 PM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 1:11:45 PM
RE: foxypreviewer Posted by michael johnson @ 12/20/2011 1:24:47 PM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 1:29:54 PM
RE: foxypreviewer Posted by michael johnson @ 12/20/2011 2:14:21 PM
RE: foxypreviewer Posted by Cesar @ 12/20/2011 5:01:26 PM
RE: foxypreviewer Posted by Muhammad Majid Ali Attari @ 12/30/2011 6:19:30 AM
RE: foxypreviewer Posted by mohammed qasem @ 12/30/2011 2:48:58 PM
RE: foxypreviewer Posted by Pete Sass @ 12/30/2011 7:08:16 PM
RE: foxypreviewer Posted by dcNiko Vujke @ 9/4/2014 11:36:39 AM