in reply to Re^2: French Accent in Windows Registry (A/W)
in thread French Accent in Windows Registry

Well, Thanks for your kindness and If you do find a way to do it tell me, because I am sill looking.. I thought it would be easy :| I guess I was wrong :o BTW, I have tried from_to($val, "cp850","cp1252"), but still got "Pr,cis" instead of Précis...
  • Comment on Re^3: French Accent in Windows Registry (A/W)

Replies are listed 'Best First'.
Re^4: French Accent in Windows Registry (rev)
by tye (Sage) on Jul 28, 2006 at 07:41 UTC

    Add such a key via some std GUI registry tool and then see what Win32::TieRegistry returns for it. If you only get some 7-bit value, then try adjusting your "Regional and Language Options". I wasn't able to find very clear documentation on how the *A APIs transform values to/from Windows "UNICODE", but the implication seemed to be that the configured language determined how things are mapped. If, instead, only 7-bit characters can be used, then you'll need to use the *W calls from Win32API::Registry.

    - tye        

      Win32::TieRegistry accepts 8-bit strings, as I managed to insert russian word into registry. Win32::Tieregistry accepted it in the 'default' system encoding (cp1251 for me). I am almost sure that the default encoding is implicitly set by selecting locale in Regional options.

           s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print
Re^4: French Accent in Windows Registry (A/W)
by Ieronim (Friar) on Jul 27, 2006 at 17:19 UTC
    I cannot give you more help :) You must determine the encoding your terminal uses and the encoding your French Windows accepts. Nobody can do it for you without sitting at your computer ;)

         s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print