NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
garbage characters in xml


Joined: 03 Jan 2013
Posts: 24
Reply with quote
in uestudio it is right
but in phped, there are garbage characters as chinese character

how to conver character in phped?
View user's profileFind all posts by sclschSend private message


Joined: 03 Jan 2013
Posts: 24
Reply with quote
can anyone help me?
View user's profileFind all posts by sclschSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
Sounds like an encoding issue. PhpED might be defaulting to a different encoding than uestudio.

With the file open in PhpED, on the bottom status bar there are some indicators such as INS | CAPS | NUM. To the left of those is the file encoding and UTF-8 is a common encoding. You can click it to select a different encoding.

Does the XML file load correctly? If there is an encoding issue it is possible that the characters that are displaying incorrectly might also not be valid XML.
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
don't forget about double-width fonts. You have to uncheck "monospaced fonts" and select appropriate font that contains chineese. See tools->settings->editor appearance.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
garbage characters in xml
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic