How to prevent ASCII characters in web author view?
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Thu Jul 08, 2021 2:19 pm
How to prevent ASCII characters in web author view?
We are trying to Oxygen Web Author in alfresco. we are using ditamap and dita files in this. While checkout the dita file in Oxygen web Author, it will convert the special character like non-breaking space , “Smart” Apostrophes (smart quotes) into  “ . we already having the UTF-8 Char Picker v23.0 plugin .
After checkout the document these junk characters getting added to the document. while doing the checkin these are additionally added into dita file.How to resolve this issue .?
<p class="- topic/p ">This Statement of Additional Information (“SAI”) is not a prospectus.</p>
After checkout the document these junk characters getting added to the document. while doing the checkin these are additionally added into dita file.How to resolve this issue .?
image.png
XML :<p class="- topic/p ">This Statement of Additional Information (“SAI”) is not a prospectus.</p>
You do not have the required permissions to view the files attached to this post.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: How to prevent ASCII characters in web author view?
Post by cristi_talau »
Hello,
To troubleshoot this problem I need more information.
It would help if you could share the file at the following moments:
Also, I noticed some green buttons on the toolbar. Are these buttons part of your customization? Are they used when performing the checkout? Can you try to reproduce the problem without your customizations?
To understand the information that Web Author and Alfresco exchange you can enable more verbose HTTP logging in Web Author [1].
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... tgc_1wq_2v
To troubleshoot this problem I need more information.
It would help if you could share the file at the following moments:
- When you download it from Alfresco directly?
- When you download it from Web Author user interface before you check it out?
- When you download it from Web Author user interface after you check it out?
Also, I noticed some green buttons on the toolbar. Are these buttons part of your customization? Are they used when performing the checkout? Can you try to reproduce the problem without your customizations?
To understand the information that Web Author and Alfresco exchange you can enable more verbose HTTP logging in Web Author [1].
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... tgc_1wq_2v
-
- Posts: 4
- Joined: Thu Jul 08, 2021 2:19 pm
Re: How to prevent ASCII characters in web author view?
hicristi_talau wrote: ↑Thu Jul 08, 2021 6:26 pm Hello,
To troubleshoot this problem I need more information.
It would help if you could share the file at the following moments:
- When you download it from Alfresco directly?
- When you download it from Web Author user interface before you check it out?
You can also use our technical support form to share these files.
- When you download it from Web Author user interface after you check it out?
Also, I noticed some green buttons on the toolbar. Are these buttons part of your customization? Are they used when performing the checkout? Can you try to reproduce the problem without your customizations?
To understand the information that Web Author and Alfresco exchange you can enable more verbose HTTP logging in Web Author [1].
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... tgc_1wq_2v
please find the sample in attachment for testing. While editing this dita we got ASCII character got replace for smart quotes and nbsp space area.
after enabling the Http logs we couldn't found the root cause .
sample.zip
. How to resolve this issue?sample.zip
AshokYou do not have the required permissions to view the files attached to this post.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: How to prevent ASCII characters in web author view?
Post by cristi_talau »
Hello,
I could not reproduce the problem you mentioned. I used an Web Author installation with no customizations, uploaded the file you sent to an Alfresco server, opened it and checked it out. All the characters were intact. Moreover, the yellow banner for me contained the "Check out required" text. Can you use the "More" (triple dots menu) > "Report Problem" to send us a problem report with more details about your server?
This kind of problem happens when a custom plugin or tool reads the content of a file and does not specify the character encoding. Depending on the plugin you use setting the -Dfile.encoding=UTF-8 system property may fix the issue [1].
You can try to set this system property also for the JVM that runs the Alfresco server.
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... perty.html
I could not reproduce the problem you mentioned. I used an Web Author installation with no customizations, uploaded the file you sent to an Alfresco server, opened it and checked it out. All the characters were intact. Moreover, the yellow banner for me contained the "Check out required" text. Can you use the "More" (triple dots menu) > "Report Problem" to send us a problem report with more details about your server?
This kind of problem happens when a custom plugin or tool reads the content of a file and does not specify the character encoding. Depending on the plugin you use setting the -Dfile.encoding=UTF-8 system property may fix the issue [1].
You can try to set this system property also for the JVM that runs the Alfresco server.
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... perty.html
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service