[cvsnt] Server/Client codepage translations

Alexandre Sénéchal asenechal at optifor.net
Fri Oct 28 20:31:32 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,

Can someone explain me how to get the server and client to use the same
codepage and stop loosing
characters in the translation...

The client is on windows and my server is on a Gentoo Linux box (CVSNT
was manually installed).

I tried a couple things from what I found on the net...

Like:

- setting the env variable LANG & LC_ALL -> no success
- setting the /etc/cvsnt/PServer::Locale option -> no success
- tried the following command on the client side

cvs -ofr_CA -ttt checkout <some_module who usually loose characters>
and got

15:14:02: -> Tracelevel set to 3. PID is 3684
15:14:02: -> Session ID is e644362787a476d
15:14:02: -> Session time is Fri Oct 28 19:14:02 2005
15:14:02: -> CVS Server is acting as standalone
15:14:02: -> CVS Directory is C:\PROGRA~1\TORTOI~1
15:14:02: -> main loop with CVSROOT=:ext:asenechal at CVSNT:/dev
15:14:03: -> Server codepage is FR_CA (forced)
15:14:03: -> Client codepage is CP1252
15:14:03: -> Server->Client codepage translation is active
15:14:03: -> TranscodeBuffer(FR_CA,CP1252) failed
15:14:03: -> Translation not posible - disabling
cvs checkout: Couldn't translate to codepage fr_CA - disabling translation
15:14:03: -> Server version is CVSNT 2.5.01 (Travis) Build 1927
15:14:03: -> Client version is CVSNT 2.5.02 (Servalan) Build 2064
...
15:26:02: -> call_in_directory
/dev/Courbures/dsp/Documentations/DSPs/Cobra/Entrées_Sorties.vsd,Courbures/dsp/Documentations/DSPs/Cobra/
U Courbures/dsp/Documentations/DSPs/Cobra/Entrées_Sorties.vsd
15:26:02: -> rename(_new_Entrées_Sorties.vsd,Entrées_Sorties.vsd)
15:26:02: -> wnt_rename(_new_Entrées_Sorties.vsd,Entrées_Sorties.vsd)
15:26:02: -> change_mode (Entrées_Sorties.vsd,u=rw,g=r,o=r,1)
15:26:02: -> wnt_chmod(Entrées_Sorties.vsd,0644)
15:26:02: -> SetUnixFileModeNtEA(E,0644)
15:26:02: -> wnt_stat(Entrées_Sorties.vsd)
15:26:02: -> _statcore(00000000,Entrées_Sorties.vsd)
15:26:02: -> Trying GetFileAttributesEx....
15:26:02: -> File attributes = 00000020
15:26:02: -> - read/write file
15:26:02: -> GetUnixFileModeNtEA(E,0000070C) returns 0666
15:26:02: -> wnt_stat(Entrées_Sorties.vsd)
15:26:02: -> _statcore(00000000,Entrées_Sorties.vsd)
15:26:02: -> Trying GetFileAttributesEx....
15:26:02: -> File attributes = 00000020
15:26:02: -> - read/write file
15:26:02: -> GetUnixFileModeNtEA(E,0000070C) returns 0666
15:26:02: -> Register(Entrées_Sorties.vsd, 1.1, Thu Apr 15 13:21:54
2004, b, , , , , )

This did not give any error for the file but the translation did fail
and the filename is not right, 'Entr‚es_Sorties.vsd' instead of
'Entrées_Sorties.vsd'.

Here is the output without the -o

15:23:05: -> Tracelevel set to 3. PID is 1432
15:23:05: -> Session ID is 59843627a994e5a
15:23:05: -> Session time is Fri Oct 28 19:23:05 2005
15:23:05: -> CVS Server is acting as standalone
15:23:05: -> CVS Directory is C:\PROGRA~1\TORTOI~1
15:23:05: -> main loop with CVSROOT=:ext:asenechal at CVSNT:/dev
15:23:06: -> Server codepage is ANSI_X3.4-1968
15:23:06: -> Client codepage is CP1252
15:23:06: -> Server->Client codepage translation is active
15:23:06: -> Server version is CVSNT 2.5.01 (Travis) Build 1927
15:23:06: -> Client version is CVSNT 2.5.02 (Servalan) Build 2064
...
15:23:08: -> Transcode: 1 characters deleted
cvs checkout: Characters from server lost in translation
15:23:08: -> Transcode: 1 characters deleted
cvs checkout: Characters from server lost in translation
15:23:08: -> Transcode: 1 characters deleted
cvs checkout: Characters from server lost in translation
15:23:08: -> call_in_directory
/dev/Courbures/dsp/Documentations/DSPs/Cobra/Entres_Sorties.vsd,Courbures/dsp/Documentations/DSPs/Cobra/
15:23:08: -> Transcode: 1 characters deleted
cvs checkout: Characters from server lost in translation
U Courbures/dsp/Documentations/DSPs/Cobra/Entres_Sorties.vsd
15:23:09: -> rename(_new_Entres_Sorties.vsd,Entres_Sorties.vsd)
15:23:09: -> wnt_rename(_new_Entres_Sorties.vsd,Entres_Sorties.vsd)
15:23:09: -> change_mode (Entres_Sorties.vsd,u=rw,g=r,o=r,1)
15:23:09: -> wnt_chmod(Entres_Sorties.vsd,0644)
15:23:09: -> SetUnixFileModeNtEA(E,0644)
15:23:09: -> wnt_stat(Entres_Sorties.vsd)
15:23:09: -> _statcore(00000000,Entres_Sorties.vsd)
15:23:09: -> Trying GetFileAttributesEx....
15:23:09: -> File attributes = 00000020
15:23:09: -> - read/write file
15:23:09: -> GetUnixFileModeNtEA(E,0000070C) returns 0666
15:23:09: -> wnt_stat(Entres_Sorties.vsd)
15:23:09: -> _statcore(00000000,Entres_Sorties.vsd)
15:23:09: -> Trying GetFileAttributesEx....
15:23:09: -> File attributes = 00000020
15:23:09: -> - read/write file
15:23:09: -> GetUnixFileModeNtEA(E,0000070C) returns 0666
15:23:09: -> Register(Entres_Sorties.vsd, 1.1, Thu Apr 15 13:21:54 2004,
b, , , , , )

which clearly did not work.

Can somebody, tell me how to get my server to understand french
characters with some procedure or how-to...
That would be really appreciated.

thanks

Alexandre Senechal





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook