Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Encoding troubles
- To: tlug@example.com
- Subject: Re: tlug: Encoding troubles
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Fri, 3 Sep 1999 11:04:24 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <3.0.6.32.19990903081232.009e4b70@example.com>
- References: <19990902174729.A31348@example.com><3.0.6.32.19990903081232.009e4b70@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Darren" == Darren Cook <darren@example.com> writes: >> I believe there are patches to do this. But I don't think it's >> a good idea. SJIS is definitely not file-system-safe, unless >> you are on a DOS/V box or something like that. Darren> Can you explain that further? "/" is not in the SJIS Darren> second byte range. However ` and | are in the second byte Darren> range - is that where the problem would come? Yup. You're probably OK if you are operating on the command line. But consider a shell script which does TODO=`ls` sh -c "someutility $TODO" You will get a rather hard to debug syntax error on some SJIS input unless the shell is SJIS-aware. This can't happen with EUC or UTF-8. (In this context the use of a subshell is weird, but it happens all the time in other contexts. For example, in programs where you use the system() function to get path-searching done, which the exec() family of functions will not do.) And consider what could happen with [, ], {, and }, all of which have significance to bash, at least, for globbing and grouping. And \ will just silently disappear from the input. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 __________________________________________________________________________ __________________________________________________________________________ What are those two straight lines for? "Free software rules." ------------------------------------------------------------------- Next Nomikai: September 17 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: October 9 (Sat), 13:00 place: Temple Univ. ------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- tlug: Encoding troubles
- From: Klaus Kudielka <klaus.kudielka@example.com>
- Re: tlug: Encoding troubles
- From: Darren Cook <darren@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Netscape/Java
- Next by Date: Re: tlug: Netscape/Java
- Prev by thread: Re: tlug: Encoding troubles
- Next by thread: Re: tlug: Encoding troubles
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links