View previous topic :: View next topic |
Author |
Message |
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Tue Nov 08, 2005 11:19 am Post subject: [Subversion] codage des caractères (résolu) |
|
|
Bonjour,
Est ce que quelqu'un serait comment rendre le log de subversion "svn log" compatible Latin9 ?
J'ai essayé dans .subversion/config avec la ligne "log-encoding = latin9", mais il n'y a pas de changement!
Merci
Last edited by yank74 on Sat Nov 12, 2005 11:58 am; edited 4 times in total |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Tue Nov 08, 2005 9:06 pm Post subject: |
|
|
Salut et bienvenue sur le forum!
[mode=K_S]
Pourrais tu lire ce message et mettre à jour ton titre ? Merci
[/mode=K_S]
De plus ça augmentera les chances qu'on te réponde...
Désolé je n'ai pas de réponse à ton problème : d'ailleurs, comment se traduit il concretement ?
Salut
PS : t'as vu K_S, j'suis un gentil user qui fait ton boulot à ta place
EDIT : est ce quecompiler avec le USE flag "nls" peut répondre à ta question ? |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Tue Nov 08, 2005 11:07 pm Post subject: |
|
|
En effet mille excuses j'ai posté sans réfléchir!!!
Je compile déjà avec "nls" mais par choix je n'ais pas "francisé" mon systeme. Donc je ne sais pas si ça joue sur mon problème.
Voila un peu plus de concret (résultat de "svn log"):
-----------------------------------------------------------------------------------------
r28 | picolo | 2005-10-24 12:25:19 +0200 (Mon, 24 Oct 2005) | 4 lines
correction diverse :
-ajout photo
-correction de Activate_lan, lan.
-suppression du champ "code" de lan, remplac?\195?\169 par "numero_lan".
----------------------------------------------------------------------------------------- |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Wed Nov 09, 2005 7:45 pm Post subject: |
|
|
Est ce que tu as dans la config de ton noyau, dans File Systems -> Native language support activé ceux qui correspondent au langues européennes avec accent ?
Sinon, il est possible que la non francisation de ton système pose problème.. je sais pas je ne suis pas expert dans la chose ...
edit : il me semble y avoir vu il y a peu (hier?) dans un message quelqu'un qui parle de francise rel système juste au niveau du codage des caractères, mais garder la langue anglaise... je vais essayer de retrouver ça...
edit : voilà, c'est ici : https://forums.gentoo.org/viewtopic-t-399817.html C'était pas bien loin en fait, je ne perds pas encore la tête
C'est la dernière réponse (acutellement), la 5eme sinon |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Wed Nov 09, 2005 9:47 pm Post subject: |
|
|
Ok merci Kopp, j ai configurer mon systeme comme dans la réponse 5.
Dommage ça ne résoud pas mon problème mais je pense que ça pourra mettre utile dans l'avenir... |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Thu Nov 10, 2005 5:32 pm Post subject: |
|
|
est ce que tu l'as recompilé ton truc après les modifs ? et donc, qu'en est il pour la config du noyau ? (à la limite, un grep -i nls /boot/config devrait t'aider un peu... |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Thu Nov 10, 2005 7:54 pm Post subject: |
|
|
Salut!
Alors j'ai créé avec les bonnes lignes /etc/env.d/02locale,
puis j'ai ajouté "unicode" et "utf8" dans le use flag du make.conf,
puis j'ai fais un "env-update && source /etc/profile",
et enfin j'ai recompilé. Je suis newbie sous gentoo alors j'ai juste fais un "emerge subversion".
Malheureusement pas de changement...
Pour mon noyau :
grep -i nls /usr/src/linux/.config
CONFIG_UDF_NLS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-15"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y
Merci
Last edited by yank74 on Thu Nov 10, 2005 10:25 pm; edited 1 time in total |
|
Back to top |
|
|
bdz Apprentice
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Thu Nov 10, 2005 8:16 pm Post subject: |
|
|
@ yank74: En tout cas tu peux toujours te dire que ca fonctionne mieux que chez moi ou je me fais carrément jeter au moment du commit si j'utilise des caractères accentués:
Code: | $ svn commit
svn: Commit failed (details follow):
svn: Can't convert string from native encoding to 'UTF-8':
svn: - Ajout?\233 reservations par MAC pour quasar et tipac dans dhcpd.conf
- Modification diverses suite ?\224 une mise ?\224 jour du syst?\232me.
--This line, and those below, will be ignored--
...
svn: Your commit message was left in a temporary file:
svn: '/etc/svn-commit.7.tmp' |
|
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Thu Nov 10, 2005 10:27 pm Post subject: |
|
|
A dire vrai j'ai pas encore tester le commit. Le log que j'affiche est un commit de mon pote qui est sous windows... |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Sat Nov 12, 2005 10:37 am Post subject: |
|
|
yes!!! je n'ais rien changé dans la conf mais j'ai fais un emerge world en profondeur, et ça marche. J'ai quand même dû passer de rxvt à rxvt-unicode.
Comme je vais pouvoir me remettre à travailler sur mon projet maintenant que j'ai terminé ma migration mandrake-->gentoo je vous dirais si les commit fonctionne bien.
Merci |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Sat Nov 12, 2005 10:46 am Post subject: |
|
|
cool!
Un petit [résolu] dans le titre alors s'il te plait |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Sat Nov 12, 2005 11:56 am Post subject: |
|
|
oups oublié |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Tue Nov 15, 2005 1:23 pm Post subject: |
|
|
@bdz : Pas de problème de commit pour moi
L'éditeur de texte utilisé pour le message est nano.
svn log -rHEAD
------------------------------------------------------------------------
r29 | yank | 2005-11-15 14:19:08 +0100 (mar, 15 nov 2005) | 4 lines
Make a submenu for lans administration.
Création d'un sous menu pour l'administration des lans.
------------------------------------------------------------------------ |
|
Back to top |
|
|
bdz Apprentice
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Tue Nov 15, 2005 4:27 pm Post subject: |
|
|
Je n'ai plus le problème sur le commit.
En fait je n'avais pas du tout francisé mon système. Depuis que j'ai passé ma locale en fr_FR.UTF-8 le commit avec des caractères accentué dans le commentaire fonctionne.
Par contre j'ai pas encore essayé de faire un commit d'un fichier avec des caractères accentué dans son nom. |
|
Back to top |
|
|
|