- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: invalid multi-byte character in shell
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 03:27 AM
тАО12-03-2008 03:27 AM
invalid multi-byte character in shell
I got stuck up with an error "invalid multi-byte character" in a shell script. Basically I have changed locale to spanish utf8. I'm using HPUX 11.23. Already my machine is patched up with PHCO_36506. Do I need to install any other patches to overcome this problem.
Thanks in Advance
S. Ashok Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 07:29 PM
тАО12-03-2008 07:29 PM
Re: invalid multi-byte character in shell
Also, can you attach a script that duplicates it?
Was it sh that failed or some application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 01:45 AM
тАО12-04-2008 01:45 AM
Re: invalid multi-byte character in shell
Thanks for your reply. Already that machine has Spanish locale.
Basically we have shell script, in which some binaries get appended to the end. Script will extract those binaries and use that binary for installation.
Today I found out that, when I remove the "echo" statements, script exection is success. But we want "echo" statement to log the messages to log file.
Please give suggestion, whatz going wrong?
Thanks
S. Ashok Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 08:22 AM
тАО12-04-2008 08:22 AM
Re: invalid multi-byte character in shell
short question: Did you quote the strings?
I would try something like
echo 'actualizaci├Г ├В┬│n'
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 06:12 PM
тАО12-04-2008 06:12 PM
Re: invalid multi-byte character in shell
Of the script? That's going to cause problems unless you are in the American Nerd locale, C.
>Script will extract those binaries and use that binary for installation.
You should really be using shar(1) to add them to the end.
>when I remove the "echo" statements, script execution is success.
Does it fail with just the echo but without the binaries?
Do you have an example of what fails?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 05:31 AM
тАО12-05-2008 05:31 AM
Re: invalid multi-byte character in shell
Thanks for your reply. "shar" solved my issue.
Dennis thanks once again for giving this valuable suggestion.
-Ashok