Yii Framework Forum: Problems with italian characters and rss - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problems with italian characters and rss Rate Topic: -----

#1 User is offline   StErMi 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 259
  • Joined: 30-March 09

Posted 06 July 2010 - 03:21 PM

I'm talking about this: è à ò etc etc.

I've this string: "Il futuro di StarCraft 2 è in tre dimensioni" how can encode it?

This is the feed validator: http://validator.w3....%2FrssNews.html

At the moment I replaced è with e' but I need to find a good solution...
0

#2 User is offline   StErMi 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 259
  • Joined: 30-March 09

Posted 08 July 2010 - 02:01 AM

up
0

#3 User is offline   andy_s 

  • Random Member Title
  • Yii
  • Group: Moderators
  • Posts: 1,526
  • Joined: 22-June 09
  • Location:Russia, Kostroma

Posted 08 July 2010 - 04:40 AM

It is said:

Quote

Your feed appears to be encoded as "utf-8", but your server is reporting "US-ASCII"

Maybe it causes a problem?
0

#4 User is offline   StErMi 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 259
  • Joined: 30-March 09

Posted 08 July 2010 - 07:38 AM

View Postandy_s, on 08 July 2010 - 04:40 AM, said:

It is said:


Maybe it causes a problem?



uhm i don't know how to do it...

I've this: $out = '<?xml version="1.0" encoding="utf-8"?>' . "\n";
but where can I change the fact that server is reporting "US-ASCII"?

damn retarder italan characters!
0

#5 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,016
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 08 July 2010 - 07:43 AM

Never implemented a web service, but shouldn't be any difference to other apache pages. So check this cookbook (Section 4): http://www.yiiframew...oc/cookbook/16/
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users