Re: Converting codepages to UTF8



P schreef:

Is there a Perl module which implements converting of codepages
(such as you get when running "chcp" in a command prompt) to UTF8?
Something that allows me to specify, for example, codepage 437 and
then converting it to UTF8. I've looked through the documentation for
the module Encode, but it doesn't seem to deal with codepages at all.


chcp is a command to change the parameters of the display.

C:\>chcp /?
Displays or sets the active code page number.

CHCP [nnn]

nnn Specifies a code page number.

Type CHCP without a parameter to display the active code page number.


What do you want to do? If you want to convert a file from one encoding
to another, look for 'iconv'.

--
Affijn, Ruud

"Gewoon is een tijger."

.



Relevant Pages

  • Re: Converting codepages to UTF8
    ... command prompt) to UTF8? ... specify, for example, codepage 437 and then converting ... codepages at all. ... chcp is a command to change the parameters of the display. ...
    (comp.lang.perl.misc)
  • Re: codepages
    ... Ubuntu sieht zwar die Laufwerke und erkennt das Filesystem, kann aber gar nicht drauf zugreifen. ... Eine solche Datei widersteht *jedem* Zugriffsversuch und ist auch mit Knoppix nicht zu entfernen, hier kann man nur noch das Laufwerk formatieren. ... chcp 850 ...
    (de.comp.os.os2.apps)
  • Re: Console codepages
    ... If I switch to Japanese in the regional settings I get the 932 ... codepage and can use chcp to switch from and to this codepage, ... || pages unless it is also the default system OEM code page. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Codepage ??
    ... to change the codepage you can either issue a command from the command line ... CHCP xxx where xxx is the code page you require. ... The codepage is limited to ... Does this little experiment work for somebody also with OS/2? ...
    (comp.os.os2.programmer.misc)
  • Re: The return of the son of Umlaute
    ... My Windows shell ... says it works on codepage 850. ... (I used the command "chcp" to find ...
    (comp.lang.ruby)