Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Javakompilatorn accepterar inte svenska tecken.
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
bandy
n00b
n00b


Joined: 24 Nov 2003
Posts: 24
Location: Sweden

PostPosted: Tue Feb 24, 2004 8:41 am    Post subject: Javakompilatorn accepterar inte svenska tecken. Reply with quote

Hej hej.

Jag använder blackdown-jdk-1.4.1. Mitt problem är att kompilatorn vägrar kompilera program som innehåller svenska tecken. Likaså visas åäö som frågetecken i applets. I övrigt har jag inga problem med tecken i systemet. Vet någon hur detta skulle kunna åtgärdas? Jag är alltså inte intresserad av att översätta systemet, bara få Java att förstå svenska tecken.

Tack.
Back to top
View user's profile Send private message
Yarrick
Bodhisattva
Bodhisattva


Joined: 05 Jun 2002
Posts: 304
Location: Malmö, Sweden

PostPosted: Thu Feb 26, 2004 8:55 am    Post subject: Reply with quote

När du kör det lokalt så kan du skicka med vilket språk som java ska köra:
LANG="sv_SE" java Foo

Då klarar det svenska tecken. Testa starta browsern med LANG-variabeln satt när du ska köra applets.
Back to top
View user's profile Send private message
bandy
n00b
n00b


Joined: 24 Nov 2003
Posts: 24
Location: Sweden

PostPosted: Fri Feb 27, 2004 3:15 pm    Post subject: Reply with quote

Tackar! Det löste problemet för kompilatorn. Hur sätter jag variabeln så att förändringen blir permanent?
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