"Special" characters not showing
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 9
- Joined: Fri Apr 15, 2005 2:18 pm
"Special" characters not showing
Hi!
I'm opening an XSLT file in Oxygen, that I know contains some "special" characters (I guess unicode ones). Oxygen doesn't display them at all, whatever font I use for the editor. Worse, if I save the file, these special characters disappear.
Opening the file with notepad++ shows the following:
<xsl:variable name="string1">
<xsl:call-template name="replaceCharsInString">
<xsl:with-param name="stringIn" select="string($stringIn)" />
<xsl:with-param name="charsIn" select="'Ã'" /> <!--  -->
<xsl:with-param name="charsOut" select="''" />
</xsl:call-template>
</xsl:variable>
Opening (and saving) it with Oxygen shows:
<xsl:variable name="string1">
<xsl:call-template name="replaceCharsInString">
<xsl:with-param name="stringIn" select="string($stringIn)" />
<xsl:with-param name="charsIn" select="''" /> <!-- Â -->
<xsl:with-param name="charsOut" select="''" />
</xsl:call-template>
</xsl:variable>
Any idea how I can get Oxygen to recognise these characters?
Fabre
I'm opening an XSLT file in Oxygen, that I know contains some "special" characters (I guess unicode ones). Oxygen doesn't display them at all, whatever font I use for the editor. Worse, if I save the file, these special characters disappear.
Opening the file with notepad++ shows the following:
<xsl:variable name="string1">
<xsl:call-template name="replaceCharsInString">
<xsl:with-param name="stringIn" select="string($stringIn)" />
<xsl:with-param name="charsIn" select="'Ã'" /> <!--  -->
<xsl:with-param name="charsOut" select="''" />
</xsl:call-template>
</xsl:variable>
Opening (and saving) it with Oxygen shows:
<xsl:variable name="string1">
<xsl:call-template name="replaceCharsInString">
<xsl:with-param name="stringIn" select="string($stringIn)" />
<xsl:with-param name="charsIn" select="''" /> <!-- Â -->
<xsl:with-param name="charsOut" select="''" />
</xsl:call-template>
</xsl:variable>
Any idea how I can get Oxygen to recognise these characters?
Fabre
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
This is an oXygen FAQ. First make sure that the encoding declared at the beginning of the document in the declaration that looks like
is the same as the encoding used to write the file on disk. A second thing to check is that you set in Options -> Preferences -> Font a font able to render all the characters of the encoding of your XML document. For example the Arial Unicode MS font should cover most Unicode encodings that are frequently used.
Regards,
Sorin
This is an oXygen FAQ. First make sure that the encoding declared at the beginning of the document in the declaration that looks like
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
Regards,
Sorin
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