Subversion Repositories Applications.papyrus

Rev

Rev 929 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 929 Rev 2150
Line 67... Line 67...
67
 
67
 
68
		> 4. We have also found a solution for decoding the UTF-8 
68
		> 4. We have also found a solution for decoding the UTF-8 
69
		> headers. Therefore I made the following function:
69
		> headers. Therefore I made the following function:
70
		> 
70
		> 
71
		> function decode_utf8($txt) {
71
		> function decode_utf8($txt) {
72
		> $trans=array("Å‘"=>"õ","ű"=>"û","Ő"=>"Õ","Å°"
72
		> $trans=array("ő"=>"õ","ű"=>"û","Ő"=>"Õ","Ű"
73
		=>"Û");
73
		=>"Û");
74
		> $txt=strtr($txt,$trans);
74
		> $txt=strtr($txt,$trans);
75
		> return(utf8_decode($txt));
75
		> return(utf8_decode($txt));
76
		> }
76
		> }