1833207 Members
2959 Online
110051 Solutions
New Discussion

UNIX CODEPAGE

 
Matthew Pegge_1
Frequent Advisor

UNIX CODEPAGE

Qusetion from NT guy about problem with FTP of file from Unix - Any ideas?

..... now i have found out that my windows application get's troubles with some characters in the file. i think it has to do with the codepage used for the extract. my windows application is using the standard ANSI codepage but i think unix uses some others like the UTF-7 or UTF-8 codepage. can you please check what type of codepage the unix box is using for writing the extract file? i could then re-programm my application to read the textfile with the correct codepage settings.
6 REPLIES 6
Jean-Luc Oudart
Honored Contributor

Re: UNIX CODEPAGE

Would this thread be any help to you ?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=181497

regards,
Jean-Luc
fiat lux
H.Merijn Brand (procura
Honored Contributor

Re: UNIX CODEPAGE

None. As long as the transfer is binary, there is no translation.

Now it depends on what your LANG environment variable (or each of the LC_*** components) is set to how it displays on your terminal (xterm, dtterm, hpterm) or application (vi) or database application (Oracle can explicitely set what codepage to use for a database volume, which either ruins your data, or does exacly what you expect. In my experience Oracle mostly chooses the first possibility)

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Jean-Luc Oudart
Honored Contributor

Re: UNIX CODEPAGE

man iconv
NAME
iconv - code set conversion

SYNOPSIS
iconv -f fromcode -t tocode [file ...]

...

Regards,
Jean-Luc
fiat lux
Robert-Jan Goossens
Honored Contributor

Re: UNIX CODEPAGE

Hi Matthew,

HPUX 11.11 supports Unicode 2.1 / ISO 10646 character set.

HP-UX 11.0 supports Unicode/ISO 10646 by utilizing the UTF-8

Believe this is correct, but if someone has a more detailed page/doc it is very welcome .

Regards,
Robert-Jan
Matthew Pegge_1
Frequent Advisor

Re: UNIX CODEPAGE

What about if we're still using HPUX 10.20?
Robert-Jan Goossens
Honored Contributor

Re: UNIX CODEPAGE

Check if you have patch PHCO_19781 installed

this would add the support for ISO8859-15 & Unicode 2.1 conv tables

http://www5.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_19781&context=hpux:800:10:20

Regards,
Robert-Jan