@@ -22,10 +22,49 @@ This edition covers what happened during the month of June 2015.
2222-->
2323
2424
25- <!-- -
25+
2626### Reviews
27- -->
2827
28+ * [ warning when charset conversion did not happen due to iconv compiled out] ( http://thread.gmane.org/gmane.comp.version-control.git/270952/ )
29+
30+ Max Kirillov proposed a patch to warn when a conversion from a
31+ character set to another character set could not happen because iconv
32+ has not been compiled into Git.
33+
34+ Iconv is one of the few C libraries that people can compile either in
35+ or out of Git. Most of the time though they choose to compile it in,
36+ because it makes it possible to convert text, like commit messages,
37+ between character sets, as long, of course, as the requested character
38+ sets are installed on the system.
39+
40+ Junio replied to Max's patch with:
41+
42+ > I actually am OK if the user gets exactly the same warning between
43+ > the two cases:
44+ >
45+ > - iconv failed to convert in the real reencode_string_len()
46+ >
47+ > - we compiled out iconv() and real conversion was asked.
48+ >
49+ > and this patch is about the latter; I do not think it is reasonable
50+ > to give noise only for the latter but not for the former.
51+
52+ and later he explained:
53+
54+ > After all, if you had to convert between UTF-8 and ISO-2022-JP, the
55+ > latter of which your system does not support, whether you use
56+ > iconv-disabled build of Git or iconv-enabled build of Git, we pass
57+ > the bytestream through, right? Your patch gives warning for the
58+ > former (which is a good starting point if we want to warn "user
59+ > expected them to be converted, we didn't" case) but does not do
60+ > anything to the latter, even though users of the iconv-disabled
61+ > build is more likely to be aware of the potential issue (and are
62+ > likely to be willing to accept that) than the ones with
63+ > iconv-enabled build that runs on a system that cannot convert the
64+ > specific encoding.
65+
66+ Hopefully Max will send an updated patch that will take Junio's
67+ suggestion into account.
2968
3069<!-- -
3170### Support
0 commit comments