iRail / The-DataTank

DEPRECATED - new repo at http://github.com/tdt/core
http://thedatatank.com
26 stars 9 forks source link

XML formatter: values should only be utf8 encoded if <> utf8 #145

Closed driesdroesbeke closed 11 years ago

coreation commented 11 years ago

Thx dries! Does the encoding of utf8 characters into utf8 character introduce any kind of error or warning of some sort? Or is it just best practise to perform a check before encoding them into utf8 ?

driesdroesbeke commented 11 years ago

We got some strange results in some datasets since they got encoded twice.

Van: Jan Vansteenlandt [mailto:notifications@github.com] Verzonden: dinsdag 4 december 2012 13:09 Aan: iRail/The-DataTank CC: Dries Droesbeke Onderwerp: Re: [The-DataTank] XML formatter: values should only be utf8 encoded if <> utf8 (#145)

Thx dries! Does the encoding of utf8 characters into utf8 character introduce any kind of error or warning of some sort? Or is it just best practise to perform a check before encoding them into utf8 ?

— Reply to this email directly or view it on GitHubhttps://github.com/iRail/The-DataTank/pull/145#issuecomment-10994254.