Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem med SVN och UTF-8
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
MdaG
l33t
l33t


Joined: 09 Nov 2004
Posts: 945
Location: Stockholm, Sverige

PostPosted: Wed Apr 12, 2006 6:21 am    Post subject: Problem med SVN och UTF-8 Reply with quote

När jag uppdaterar mitt SVN-träd lokalt så får jag problem om det finns filer med svenska tecken att hämta.
Quote:
$ svn update
svn: Can't convert string from 'UTF-8' to native encoding:
svn: MotorKort_Develop/testkod 14 bytte av or/testkod 14 bytte av k?\195?\182r riktning

Jag kör en GNOME-desktop med engelska som språkval. Det verkar fungera om jag byter till svenska, men eftersom jag föredrar engelska framför svenska när jag jobbar så hoppas jag att det går att fixa utan att byta språk på systemet... :?
Back to top
View user's profile Send private message
creideiki
n00b
n00b


Joined: 19 Feb 2003
Posts: 61
Location: Linköping, Sweden

PostPosted: Wed Apr 12, 2006 7:47 am    Post subject: Reply with quote

Hur ser dina locale-inställningar ut? Pröva att köra "locale". Du vill att LC_CTYPE skall vara "sv_SE", för om den inte är det är inte ÅÄÖ tecken:
man locale wrote:
LC_CTYPE

Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments and input files).
Det gör du nog enklast genom att lägga till raden
Code:
LC_CTYPE=sv_SE
i /etc/env.d/02locale och köra "env-update".
Back to top
View user's profile Send private message
MdaG
l33t
l33t


Joined: 09 Nov 2004
Posts: 945
Location: Stockholm, Sverige

PostPosted: Wed Apr 12, 2006 9:02 am    Post subject: Reply with quote

Provade det, men det blir ingen skillnad... :?
Även om jag ställer in UTF-8 i min gnome-terminal så fungerar det inte.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum