Artifact [2b69ba4b8d]
Not logged in

Artifact 2b69ba4b8d7ec09435ce892e5d5a263d68ee6aab:

Tag referencing [2b69ba4b8d] - Edit [609ea54f7b0c2c27]: Edit check-in comment. by jan.nijtmans 2012-11-29 10:19:37.
D 2012-11-29T10:19:37.964
T +comment 609ea54f7b0c2c273f0e4ad8fd5647d17542b728 This\schange\sis\sintended\sto\sdetect,\sduring\scommit,\r\nwhether\ssome\sfile\scontents\scannot\sbe\sinterpreted\r\nas\seither\sUTF-8\sor\sASCII.\sThis\stypically\shappens\r\nwhen\sthe\sfile\sis\sin\sthe\siso8859-1\s(UNIX)\sor\r\ncp1252\s(win32)\sencoding.\sNothing\svery\sbad\shappens,\r\nonly\sfossil\scannot\sdisplay\sthe\scharacters.\sFor\sexample,\r\nsee:\r\n[http://core.tcl.tk/tcl/info/7559185e9a]\r\n\r\nIt\swould\sbe\snice\sif\sfossil\sdetects\sthis\ssituation,\r\nso\sthe\suser\shas\sthe\schoice\sto\schange\sthe\sencoding\r\nto\sutf-8,\sor\sanswer\s'y'\sif\sthis\sis\sintended.\r\n\r\nProbably\smissing\sis\sa\s'latin-glob',\s'non-utf8-glob'\r\n(any\sideas\sfor\sa\sbetter\sname?)\ssetting.\r\n\r\nAn\simprovement\swould\sbe\sto\sallow\sthe\s'c'\sresponse,\r\nwhich\saborts\sthe\scommit\sbut\sfirst\sconverts\sit\sto\r\nutf-8\s(assuming\siso8859-1\son\sUNIX\sand\scp1252\son\swin32)\r\n\r\nFeedback\swelcome!
U jan.nijtmans
Z 2970ee34fe31e82c92ea100906ed5e9f