How to convert this string into kanji

Source: Internet
Author: User
Tags imap all mail
How do I convert this string to kanji?
I set up a Chinese label delete in Gmail.
Now I use the following code to read out all the tags.

$hostname = ' {}trash ';
$username = [email protected] ';
$password = ' yyyy ';
$mailbox = Imap_open ($hostname, $username, $password);
$boxes =imap_list ($mailbox)
Print_r ($boxes)
Imap_close ($inbox);

The output results are as follows:

[0] = = {}inbox
[1] = = {}trash
[2] = = {}[gmail]/all Mail
[3] = = {}[gmail]/chats
[4] = = {}[gmail]/drafts
[5] = = {}[gmail]/important
[6] = = {}[gmail]/sent Mail
[7] = = {}[gmail]/spam
[8] = = {}[gmail]/starred
[9] = = {}[gmail]/trash
[Ten] = {}[gmail]/&uicwza-
[one] = {}saved

I guess: &uicwza-is a ' delete ' of some kind of code, ask, how to convert it in the form of Chinese characters?
------to solve the idea----------------------
Try this, look it up on the Internet.

foreach ($list as $val) {
echo Imap_utf7_decode ($val). " ";

  • Related Article

    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: 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.