| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Lenik <lenik AT bodz DOT net> |
| Subject: | Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8 |
| Date: | Sun, 17 May 2009 20:32:39 +0800 |
| Lines: | 41 |
| Message-ID: | <gup058$o3b$1@ger.gmane.org> |
| References: | <3f0ad08d0905121029j119c8a7ep41d3a261d8bea338 AT mail DOT gmail DOT com> <guli8n$ti2$1 AT ger DOT gmane DOT org> <20090516154934 DOT GU21324 AT calimero DOT vinschen DOT de> <gunime$v5p$1 AT ger DOT gmane DOT org> <3f0ad08d0905161909n1d1af679ob9d7630c4f5fb9af AT mail DOT gmail DOT com> <guofnc$imp$1 AT ger DOT gmane DOT org> <20090517115351 DOT GX21324 AT calimero DOT vinschen DOT de> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 |
| In-Reply-To: | <20090517115351.GX21324@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 AT bodz DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |