<font style="font-family: arial,helvetica,sans-serif;" size="2">Hi,<br
/><br />i think we need a list of INVALID CHARACTERS and not inverted<br
/><br />
-----Original Message-----<br />
Date: Tue, 12 Jun 2007 17:46:39 +0200<br />
Subject: [vdr] VDR 1.5.3: UTF-8 vs. ExchangeChars()<br />
From: Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de><br />
To: vdr@linuxtv.org<br />
<br />
The function ExchangeChars() in VDR/recording.c converts characters<br
/>
that can't be used in file names on Windows to "#XX", where XX
is<br />
the hex code of the character.<br />
<br />
This was simple when VDR only worked with single byte character sets,<br
/>
but now that it can handle UTF-8 this needs to be changed, too.<br />
<br />
Currently it has a list of characters that can be used "as
is",<br />
and converts everything else to "#XX". I guess it is better<br
/>
to convert any "disturbing" characters to "#XX" and
leave the<br />
rest untouched. However, this requires that we know exactly<br />
which characters can't be used with Windows.<br />
<br />
Does anybody have that kind of information?<br />
Or should this be done completely different?<br />
<br />
Note that I don't use this feature myself, so unless there<br />
is some input from others, I won't be changing anything here.<br />
<br />
Klaus<br />
<br />
_______________________________________________<br />
vdr mailing list<br />
vdr@linuxtv.org<br />
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr<br />
</font>