XML and Encoding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Onur Bozkurt

    XML and Encoding

    I have a dataset tha I will write to an xml file... How can I add the
    encoding attribute while this process.
    Because I lose some of my characters when the dataset is written to xml...


  • S. Justin Gengo

    #2
    Re: XML and Encoding

    Onur,

    I think you'll have to loop through each row and column of the dataset and
    use System.HtmlEnco de / System.HtmlDeco de on each.

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:


    "Out of chaos comes order."
    Nietzche


    "Onur Bozkurt" <destek@hemente knoloji.com> wrote in message
    news:e8G3mixaDH A.2548@TK2MSFTN GP09.phx.gbl...[color=blue]
    > I have a dataset tha I will write to an xml file... How can I add the
    > encoding attribute while this process.
    > Because I lose some of my characters when the dataset is written to[/color]
    xml...[color=blue]
    >
    >[/color]


    Comment

    • Onur Bozkurt

      #3
      Re: XML and Encoding

      Can you explain it a little bit more with some code. What exactly should I
      do to the dataset..
      Thanks...

      "S. Justin Gengo" <sjgengo@aboutf ortunate.com> wrote in message
      news:OLjb5mxaDH A.652@tk2msftng p13.phx.gbl...[color=blue]
      > Onur,
      >
      > I think you'll have to loop through each row and column of the dataset and
      > use System.HtmlEnco de / System.HtmlDeco de on each.
      >
      > Sincerely,
      >
      > --
      > S. Justin Gengo, MCP
      > Web Developer
      >
      > Free code library at:
      > www.aboutfortunate.com
      >
      > "Out of chaos comes order."
      > Nietzche
      >
      >
      > "Onur Bozkurt" <destek@hemente knoloji.com> wrote in message
      > news:e8G3mixaDH A.2548@TK2MSFTN GP09.phx.gbl...[color=green]
      > > I have a dataset tha I will write to an xml file... How can I add the
      > > encoding attribute while this process.
      > > Because I lose some of my characters when the dataset is written to[/color]
      > xml...[color=green]
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...