Artifact Content
Not logged in

Artifact 5de88b3c4e96916f6b327448574bcc86e8e276f9

Ticket change [5de88b3c4e] - New ticket 33949929b9 Fossil on windows fails on path/files with non US-ASCII characters in them.. by anonymous on 2008-07-27 21:57:33.

D 2008-07-27T21:57:33
J comment I\scan't\sopen,\sadd,\scommit\sand\sclose\srepository\swith\sfossil\son\sinternational\sversion\sof\swin\sXP,\sunless\sI\sfiddle\swith\senvironment\svariable.\r\nEven\swith\sfiddling,\sI\sam\sunable\sto\scheck\sin\sfiles\swith\snon\sUS-ASCII\scharacters\sin\snames\sor\sopen\srepository\son\spath\swith\snon\sUS-ASCII\scharacters.\r\n\r\nMy\sinternational\sversion\sof\swindows\sXP\s(Czech)\suses\sas\sa\splace\sfor\sstoring\sapplication's\sdata\slocalized\spath\s(what\sis\son\sUS\swindows\son:\r\nc:\\Documents\sand\sSettings\\username\\Application\sData\sis\son\smy\ssystem\sstored\son\sc:\\Documents\sand\sSettings\\username\\Data\saplikací\s\r\n(please\snote\s\\xA1\scharacter\sat\sthe\send))\r\nWhen\sfossil\sstarts\sto\sdo\sits\sjob,\sit\stries\sto\screate\ssome\sdatabases\sin\slocation\sdetermined\sby\scode\son\slines\s561-569\sin\sdb.c.\sMy\swin\sxp\sset\sAPPDATA\svariable\r\nto\s"c:\\Documents\sand\sSettings\\username\\Data\saplikací"\swhich\sis\sused\sby\sfossil,\sbut\sit\snever\screates\s_fossil\sdatabase\son\sc:\\Documents\sand\sSettings\\username\\Data\saplikací\\_fossil\r\nbut\sinstead\stries\sto\screate\sc:\\Documents\sand\sSettings\\username\\Data\saplikac\\_fossil\s(on\spath\swhich\sdoes\snot\sexist\son\ssystem)\r\nIn\sattempt\sto\suse\sfossil\ssomehow\sI\sset\sAPPDATA\sto\sexisting\spath\swith\sonly\sUS-ASCII\scharacter\sin\sit.\sThat\sway\sI\scould\s(finally!)\splay\swith\sfossil\s(add/commit/...\sto\srepostory,\r\nwhich\sis\sgood).\sUnfortunately,\swhen\sI\stry\sto\sadd\sfiles\swith\snon\sUS-ASCII\scharacters\sin\stheir\snames,\sit\sfails\sand\sI\sdon't\ssee\sthere\sany\sworkaround.\s(I\sbelieve\sthat\shaving\s\r\nability\sto\sadd\ssuch\sfiles\sto\srepository\sis\squite\sfundamental\sfeature\sfor\sinternational\susers).\sI\stheoretize\sthat\sboth\sissues\sare\srelated\sto\sthe\sfact\sthat\ssqlite\sexpects\sUTF\r\nencoded\spath\sbut\sfossil\sdoes\snot\smake\sprovisions,that\ssuch\spath\spassed\sto\ssqlite\sis\sindeed\sUTF\sencoded.\r\n\r\nTo\sreproduce\ssecond\sissue\splease\screate\sa\sfile\swith\ssome\snon\sUS-ASCII\scharacter(s)\sin\sits\sname\s(e.g.\s\\xA1)\sand\stry\sto\scommit\ssuch\sfile\sinto\srepository\s(on\swindows\sxp).\r\nFirst\sissue\sshould\smanifest\sitself\son\sinternational\sversion\sof\swindows\s(perhaps\sXP\sas\sI\shave\sseen\sfossil\sadding\sand\scommiting\sfiles\son\swin\s2000,\swhere\s\r\nAPPDATA\swas\sset\sby\ssystem\sto\sc:\\Documents\sand\sSettings\\username\\Application\sData)\swhich\spossibly\sset\sLOCALAPPDATA\sor\sAPPDATA\sor\sHOMEPATH\sor\sHOME\svariables\sto\spath\scontaining\s\r\nnon\sUS-ASCII\scharacters.\r\n\r\nWould\sit\sbe\spossible\sto\sfix\sthis?\sThanks.
J foundin [3bc6d0b0c9]\s2008-07-27\s21:02:10
J private_contact 24b67375dd2ec6c7381a5ad34cfcf006f0b9c260
J severity Severe
J status Open
J title Fossil\son\swindows\sfails\son\spath/files\swith\snon\sUS-ASCII\scharacters\sin\sthem.
J type Code_Defect
K 33949929b9857e34dd3df6650dfd5884a733e5bd
U anonymous
Z c27750c18b7cf2fb740372ad9cc9b1fd