Operating System - HP-UX
1826244 Members
3051 Online
109692 Solutions
New Discussion

invalid multibyte character

 
SOLVED
Go to solution
DP48
Occasional Contributor

invalid multibyte character

Hi,

when i'm executing shell script in hp-ux. its terminating with error pkgen[105]: invalid multibyte character. i'm logging hp through putty. and my locale is 

LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

is locally playing anyrole for this error ? and how to resolve this issue.

 

Thanks in advance

2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: invalid multibyte character

Using the American Nerd (C) locale isn't going to let you use any multibyte chars.

What locale is the char?  You might want to use a UTF8 locale.

DP48
Occasional Contributor
Solution

Re: invalid multibyte character

Thanks Dennis, for quick respond

Problem got resolved. i used echo statements in shell script and on that some character is taking 2 bytes. it causing the issue.

Regards,

DP48