Hi Yishay,
Can you please share your input document and expected document to let us confirm it works in your case as well?
Best Regards,
Hi Yishay,
Can you please share your input document and expected document to let us confirm it works in your case as well?
Best Regards,
Attached.
Hi Yishay,
Thanks for the sample. We will test it at our end and let you know.
Best Regards,
Hi Yishay,
We were able to reproduce this issue at our end and it has been logged into our issue tracking system as SAASWORDS-247. We will update you as soon as it is resolved.
Best Regards,
Hi Muhammad,
Hi Yishay,
Our product team is actively working on it and apparently it will not take much time however ETA request has been forwarded to our product team. We will update you as soon as we have any ETA for this issue.
Best Regards,
That’s good to hear.
Thanks for being patient. We have good news for you i.e. SAASWORDS-247 have now been resolved. You may now please re-test your scenario with Aspose.Words for Cloud. Hope, this helps.
Hi Awais/Muhammad,
I just tried this feature again.
The UTF-8 worked, but OEM-862 encoding didn’t worked.
Maybe I done something wrond, I added the following paramater to the call loadEncoding=oem862, and got something of this sort:
https://api.aspose.com/v1.1/words/test%20skn.txt/SaveAs?loadEncoding=oem862&appSID=XXX&signature=YYY
This issue was set aside by us a few monthes ago, but it might become very dominant in the coming month, so a quick replay will be very appreciated.
Thanks,
Yishay
Hi Yishay,
Hi Awais,
Hi Yishay,
Thanks for your inquiry. Your “test skn.txt” file seems to be encoded with following:
Code Page: 1252
Charset Label: Windows-1252
Encoding Name: Western European (Windows)
And you can change encoding of this file to Code Page: 862 (Charset Label:DOS-862) by using the following code (see attached encoded .txt file):
AsposeApp.AppSID = “”;
AsposeApp.AppKey = "";
string xml = @"
txt
Encoding_Updated.txt
DOS-862
";
//build URI
string strURI = "http://api.aspose.com/v1.1/words/test skn.txt/SaveAs";
//sign URI
string signedURI = Utils.Sign(strURI);
Utils.ProcessCommand(signedURI, "POST", xml, "xml");
//build URI
strURI = "http://api.aspose.com/v1.1/storage/file/Encoding_Updated.txt";
//sign URI
signedURI = Utils.Sign(strURI);
Stream responseStream = Utils.ProcessCommand(signedURI, "GET");
using (Stream fileStream = System.IO.File.OpenWrite(@"D:\Temp\Encoding_Updated.txt"))
{
Utils.CopyStream(responseStream, fileStream);
}
responseStream.Close();
Please also see saveAs (Controller resource). Hope, this helps.
Best regards,
Hi Awais,
Hi Awais,
Hi Yishay,
Thanks for the additional information. In your case, you don’t need to use TextSaveOptions. Instead, you could simply use the following request to meet this requirement:
http://api.aspose.com/v1.1/words/testskn.txt?format=txt&loadEncoding=DOS-862
But unfortunately, the “loadEncoding” parameter is currently not working as expected. Your thread has been linked to appropriate issue (WORDSCLOUD-67) and you will be notified as soon as this issue is resolved. Sorry for the inconvenience.
Best regards,
Hi Awais,
Hi Yishay,
Awais:Thanks for the additional information. In your case, you don’t need to use TextSaveOptions. Instead, you could simply use the following request to meet this requirement:http://api.aspose.com/v1.1/words/testskn.txt?format=txt&loadEncoding=DOS-862
)But unfortunately, the “loadEncoding” parameter is currently not working as expected. Your thread has been linked to appropriate issue (WORDSCLOUD-67) and you will be notified as soon as this issue is resolved. Sorry for the inconvenience.
Hi Awais,