On the eve of President Donald Trump's first visit to China's capital, his favorite social media platform, Twitter, doubled its character limit for tweets to 280, offering twice the fun for the America's tweeter-in-chief. Not so much for his hosts in Beijing.

Twitter, like Facebook, is banned in China, where President Xi Jinping has overseen a deepening crackdown on the Internet, using the "great firewall" to stifle self-expression in the name of bolstering the already tight grip over society by the Communist Party.

Foreigners are generally still able to tweet via their cellphones, and Trump is expected to continue his daily dose of high-octane missives over the three-day state visit, but it's what he might chose not to say that could send a more subtle but equally important message.

Like his predecessors, Trump is assessing how to deal with a rising China, balancing the costs of pushing the authoritarian government for political and economic reforms with the benefits of maintaining productive partnerships with the world's second-largest economy.

Trump's predecessor, Barack Obama, spoke out in support of free speech in two visits to China. But Trump, who has belittled the press back home, has shown little inkling for confronting Xi on the issue despite having once boasted that he was the world's most-followed politician on social media.

"I am not holding my breath given his track record of statements attacking the U.S. news media, labeling news reports he doesn't like as 'fake' and threatening retaliation of various kinds against news organizations," said Rebecca MacKinnon, an American who worked in China as a journalist and now runs the Ranking Digital Rights project at the New America think tank in Washington.

She added that "the biggest fear of the human rights community isn't that Trump will be silent about China's Internet controls and human rights record, but that he might say things that could be construed by the Chinese government and state-controlled media as supportive of Xi's approach."

Xi has emerged more powerful after the party's 19th Congress last month, and experts said he will be emboldened to continue his consolidation of power. For Trump, who entered the three-day state visit dogged by political troubles at home, the dynamic raises the stakes in his negotiations with Xi on North Korea, trade and, potentially, human rights if the U.S. president decides to bring them up.

Trump has sent mixed signals on his mind-set toward Beijing. He signed an executive order in September authorizing the U.S. Treasury Department to pursue economic sanctions on foreign companies and banks that do business with North Korea. China is by far the North's largest trading partner.

At the same time, Trump has heaped praise on Xi. During a news conference in Seoul on Tuesday, Trump praised Xi for being "very helpful" on North Korea and added that China is "trying very hard to solve the problem."

On Wednesday, Trump mischaracterized the nature of Xi's success at the Communist Party Congress, writing on Twitter that he was looking forward "to meeting with President Xi who is just off his great political victory." China is a one-party system of authoritarian rule.

Xi was preparing to welcome Trump, who flew to Beijing after delivering a hard line speech against North Korea at the South Korean national assembly, with a "state visit plus" that was set to open with a tour of Beijing's ancient "Forbidden City," a reminder of China's 5,000 years of history. Xi has been attempting to re-elevate his country to a position of dominance in Asia and coequal to the United States on the world stage, with its economic growth offered as an alternative model to U.S.-style, free-market capitalism.

The Trump administration has responded by framing his 11-day, five-nation Asia trip as a broadening of U.S. policy in the "Indo-Pacific" region. The administration's inclusion of India as a partner in its strategy has been read by some in Beijing and elsewhere as a bid to contain China, which Trump aides deny.

"I don't think anybody would be able to contain China," Cui Tiankai, China's ambassador to Washington, told reporters ahead of Trump's trip. "President Xi has always said that the Pacific Ocean is large enough to accommodate the development of both China and the United States . . . We hope all parties do things that are conducive to better relations, trust and mutual understanding."

Trump is scheduled to deliver a speech outlining his vision for the U.S. role in the region during the Asian Pacific Economic Cooperation forum in Da Nang, Vietnam, later this week. China's aggressive maritime expansion in the South China Sea, which the Obama administration had sought to roll back, is likely to be among the topics Trump will raise during meetings with Southeast Asia leaders in Vietnam and a regional conference in the Philippines early next week before he returns to Washington.

At a news conference in Tokyo this week, Trump said he likes Xi "a lot" and considers him a friend. But he added that he remains concerned about a trade imbalance in China's favor and vowed "the United States will take very, very strong action" on pushing Beijing for greater market access for U.S. firms.

"The problem we have with China is that for decades . . . it's been a very unfair" on trade, Trump said.

"There have never been more challenging issues to address," said Tim Stratford, managing partner of Covington & Burling's Beijing office and former Assistant U.S. Trade Representative. "This is as important a time for high level dialogue as any time over the last 35 years."

U.S. companies, including technology firms such as Google, Facebook and Twitter, have complained for years about China's Internet censorship and some have made concessions to do business in the world's most-populist country. Several years ago, the Communist Party attempted to limit the renewals of some visas for U.S. journalists from the New York Times and Bloomberg over stories that revealed a web of hidden wealth and corruption among top Party officials, prompting public and private objections from the Obama administration.

But some U.S. experts said it is unlikely Xi will make concessions on issues involving free speech even if Trump does raise them.

"Consolidating state power over the Internet is a top priority for Xi - both economically and for state security," said Ian Bremmer, president of Eurasia Group, a global risk assessment firm. "A read of their [artificial intelligence] strategy shows they've put more thought into this than any other government out there, and they're just getting started."

Emily Rauhala in Beijing contributed to this report.