Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Wierd UTF-8 String Problem
- Date: Fri, 29 Jun 2007 16:53:03 +0900
- From: "Birkir A. Barkarson" <birkirb@example.com>
- Subject: [tlug] Wierd UTF-8 String Problem
- User-agent: Thunderbird 1.5.0.12 (X11/20070530)
Hi tluggers,
Can anyone help with a small problem?
I was putting a post-commit hook into a SVN repository server, to capture a log messages, but SVN puts out this weird looking string when non ASCII strings are included.
Example:
?\227?\130?\183?\227?\130?\185?\227?\131?\134?\227?\131?\160?\229?\174?\159?\232?\163?\133/trunk/src/
It's obviously some form of an UTF-8 string, and ASCII characters are obviously passed straight through. Before I start hacking something together to turn this string into the actual bytes I want, I wanted to see if anyone was familiar with this notation and if there are any tools known to handle it?
My main hunch at the moment is that this is purely an internal svn notation so I might need a script to convert this back to bytes and then to a string. If so then a PHP script would be ideal. Sadly I haven't used PHP except for some bug fixing. Any expert PHP guru on list that can dot it down in a minute?
Regards,
BAB
- Follow-Ups:
- Re: [tlug] Wierd UTF-8 String Problem [SOLVED]
- From: Birkir A. Barkarson
- Re: [tlug] Wierd UTF-8 String Problem
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] format over SATA->IDE->USB connectors?
- Next by Date: [tlug] [Announcement] TLUG Technical Meeting 2007-7-14
- Previous by thread: [tlug] Prepping a desktop computer for Linux
- Next by thread: Re: [tlug] Wierd UTF-8 String Problem [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links