Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Wierd UTF-8 String Problem [SOLVED]



Example:

?\227?\130?\183?\227?\130?\185?\227?\131?\134?\227?\131?\160?\229?\174?\159?\232?\163?\133/trunk/src/

Not sure why, but after deducing that this was an environment problem I managed to fix the issue with a,


export LANG=ja_JP.UTF-8

at the start of the script. Must be that the default C environment which the Apache user was running caused the mojibake. Not sure why though, I even had Japanese strings directly typed into the script... Can anyone offer a descent explanation?

Regards,

BAB


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links