Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page
sam
Date: 06/15/04
- Next message: Hongjun Zheng: "C# 2.0 Status"
- Previous message: kh: "RE: value types - stack or heap?"
- In reply to: Jon Skeet [C# MVP]: "Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page"
- Next in thread: Jon Skeet [C# MVP]: "Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page"
- Reply: Jon Skeet [C# MVP]: "Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Jun 2004 16:32:58 +0200
Hi Jon,
Thanks for your replay, ? in tag <![CDATA[ ? 845]]> is euro currency sign, i
dont no why it is convert into " ? " when you see it my email.
encoding is
<!--sample XML fragment-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
are the root elements of my XML file
Waiting for ur reply
Cheers
Sa
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1b3913b18630c48a98ac59@msnews.microsoft.com...
> <<sam>> wrote:
> > I have got XML tag <fo:block font-weight="bold"
font-size="13pt"><![CDATA[ ?
> > 845]]></fo:block>. Problem is when
> > i gives xmlURL from c# to InputStreamReader in J# code with the aspx web
> > page as XML which contain tag.
> > When i try to display output on PDF, it'll get the value from the tag
> > <![CDATA[ ? 845]]> some thing like a~,^ 845 strange charachers instead
of
> > Euro sign. Also where ever i have qoute in text data in XML tags it
displays
> > strange charachers.
> >
> > J# code:
> > String xmlURL = "http://localhost/PDFXml1/PDFXml.aspx";
> > URL theUrl = new URL(xmlURL);
> > InputStreamReader reader = new InputStreamReader(
> > theUrl.openStream());
> >
> > I think problem occures when xmlURL is readed by InputStreamReader in
J# or
> > something is miss with tag <![CDATA[ ? 845]]>
>
> Well, what is the ? here? My guess is that it was in your original
> post, but I'm not seeing it due to an encoding mismatch. The same thing
> could be what's wrong with your XML - what encoding is the file in, and
> what is it declared to be at the start of the XML itself?
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
- Next message: Hongjun Zheng: "C# 2.0 Status"
- Previous message: kh: "RE: value types - stack or heap?"
- In reply to: Jon Skeet [C# MVP]: "Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page"
- Next in thread: Jon Skeet [C# MVP]: "Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page"
- Reply: Jon Skeet [C# MVP]: "Re: instead of actual value get strange charachers on dispaying the XML tag via ASPX web page"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|