Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 4th, 2008, 09:01 PM
Igor Robul
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Trouble with pre-commit script and UTF-8

Hello!

I have trouble with pre-commit hook script:
svn: Can't convert string from native encoding to 'UTF-8'

So I have wrote VERY simple pre-commit script to test this. Here is test
script:

#!/bin/sh
export LANG=ru_RU.UTF-8
date >/dev/stderr
exit 1

As you can see it must be always fail and give me error with current date
text in Russian :-) But it gives me
svn: Can't convert string from native encoding to 'UTF-8'

If I replace
date >/dev/stderr
with
date | hd >/dev/stderr

Then script works as expected end give me hexdump of UTF-8 encoded text.

How can I (if I can) give error messages in pre-commit script in native
language?
post-commit script which mails me list of commited files works like expected
even with files with cyrillic file names.

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Development > Trouble with pre-commit script and UTF-8


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT