Strange php code problems

Source: Internet
Author: User
Strange php code problems
 

 

The file was originally viewed in notepad as uft encoding, but when I set if ($ moban ['nrb _ kg454'] = '0 '){
Jump (-1, 'feature disabling ');
} After deleting this file, use notepad to check it and it turns into an ansi code. what is the problem? why?
File: http://www.wdlyhs.com/ee/niuren.tpl.rar


Reply to discussion (solution)

No
Header. tpl. php
No
Footer. tpl. php

Are you going to ask someone to guess the riddle with you?
It seems that I haven't arrived yet, isn't it ????

No
Header. tpl. php
No
Footer. tpl. php

Are you going to ask someone to guess the riddle with you?
It seems that I haven't arrived yet, isn't it ????
Sorry ~

Because the only Chinese character in the file is missing.

For common English letters and numbers, utf8 and ascii are the same,

If there is no bom header and there are no Chinese characters, the content of the two sets of encoded files are consistent. the editor considers the files to be ascii and matches the files if there are other Chinese characters.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.