[Red Hat Enterprise Linux 5.3] ja_JP.UTF-8 multibyte ksh script syntax error

Solution Verified - Updated -

Issue

  • ja_JP.UTF-8 multibyte ksh script syntax error
  • Symptom
      If the ksh scriptfile includes Japanese UTF-8 charcters,
      the "ksh -n scriptfile" fails by "syntax error".
      Please see the following example.

       --example--
       # ksh -n t1.ksh_5_NG_1
       t1.ksh_5_NG_1: syntax error at line 191: `"' unmatched

Environment

  • Red Hat Enterprise Linux 5.3
       ksh-20080202-14.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.