[1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8
Lenik
lenik@bodz.net
Sun May 17 12:33:00 GMT 2009
On 2009-5-17 19:53, Corinna Vinschen wrote:
> On May 17 15:52, Lenik wrote:
>> On 2009-5-17 10:09, IWAMURO Motonori wrote:
>>> 2009/5/17 Lenik<lenik@bodz.net>:
>>>> Thanks, but where can I get this patch?
>>> You can checkout it from CVS HEAD.
>> [...]
>> 6 weeks to the next release maybe too long to wait.
>
> We have about 2 weeks between the test releases.
>
>
> Corinna
>
Thank you, I'll be very happy if I can apply your great patch in next
morning if not earlier. I'd rather hope I can get everything immediately
when I read your reply, and IMHO that should be very easy, all what you
have to do is make your working directory public and accessible. Stupid
idea, heh? :)
Currently I resolved it by a simple function:
> function _u2w() {
> local p="$(cygpath -au $1)"
> if [ "${p:0:5}" = "/mnt/" -o "${p:0:10}" = "/cygdrive/" ]; then
> p="${p:1}"
> p="${p#*/}"
> p="${p/\//:/}"
> else
> if [ "${p:0:9}" = /usr/bin/ ]; then p="${p:4}"; fi
> if [ "${p:0:9}" = /usr/lib/ ]; then p="${p:4}"; fi
> p="$(cygpath -am /)$p"
> fi
> p="${p//\//\\}"
> echo "$p"
> }
>
> path="$(_u2w $path)"
Lenik
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list