Announcement Announcement Module
Collapse
No announcement yet.
UTF-8 Encoding problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • UTF-8 Encoding problem

    I'm generating a xml output but i`m having problems displaying it in the right encoding i use UTF-8 when i log the sql operation or the getters of the class i get proper output:

    2007-04-18 15:34:32,781 INFO [db.CompanyManagerDaoJdbc] - <UPDATE clientcompany SET Name = 'MH', ExtraName = 'HEAD Office', AddressID = '0', AddressDetails = '43', Phone = '1231231', PaymentAccount = '0888547787', AccountingName = 'Добрин' WHERE ClientCompanyID = '128'>
    2007-04-18 15:34:32,812 INFO [db.CompanyManagerDaoJdbc] - <Rows affected: 1>
    2007-04-18 15:34:32,843 INFO [db.CompanyManagerDaoJdbc$CompanyQuery] - <Name: Добрин>

    But when i put it in the MVC i get this:
    HTML Code:
    <?xml version="1.0" encoding="UTF-8"?>
         
    
    
    <company itemid='81'>	
    		<Name>NMS</Name>					
    		<Office>Head office</Office>
    		<Phone>0888298405</Phone>		
    		<Street>Chemin des Jardins</Street>				
    		<PostCode>77440</PostCode>				
    		<Town>Armentières en Brie</Town>				
    		<Details>43</Details>						
    		<Account>23</Account>				
    		<AccountingName>?об?ин Тин?ев</AccountingName>				
    		<Address>;</Address>
    
    		<AddressID>90</AddressID>			
    </company>
    I really don`t know what to do ?!
    Last edited by WebDaemon; Apr 19th, 2007, 04:06 AM.
Working...
X