UBB.Dev
Posted By: JustDave [BR5] Language File parse error... - 05/29/2002 1:41 AM
I was playing with that language switching modification I made and when switching to chinese (GB Encoding) I got a parse error.

I switched languages here and I got the same parse error. (making sure it wasn't something I did... lol)

Here's the error:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/virtual/site2/fst/var/www/html/threads/php/languages/chinese/generic.php on line 49



This is the offending line:

$ubbt_lang['RECEIVED_PM'] = "ÊÕ¼þÏ»";



It seems to be ok doesn't it? The chinese is greek to me so I have no idea if that's causing the problem. (it must be, right?)
Posted By: Dalar Re: [BR5] Language File parse error... - 05/29/2002 4:44 AM
inserting that into a blank php file doesn't generate any errors for me -- perhaps there's something else causing trouble..
Posted By: kimroan Re: [BR5] Language File parse error... - 05/30/2002 2:20 PM
It's "inbox" in Simplified Chinese and shouldn't cause any problem. I'm sure that it may be some other characters(Chinese of course) in previous line(I just guess) cause the problem. You can try to change the " to ' around those characters and see if it fix the problem.
© UBB.Developers