Re: [PHP] I have a problem with MsSQL

2003-02-18 Thread role . php-general
Jimmy,

In response to your mail of Monday 17 February 2003 at 18:54:02:

JH My problem is the characters in spanish:

JH example:

JH Construcción (Data of MsSQL Server)
  
JH Result in web with PHP:
JH Construcci¢n  


Are you aware of HTML codes like the following - some are the common
ones most people know, but there are some rarer characters too?

® reg;© copy;   ¡ iexcl;  ¢ cent;   £ pound;
¤ curren; ¥ yen;¦ brvbar; § sect;   ¨ uml;
ª ordf;   « laquo;  ¬ not;­ shy;¯ macr;
° deg;± plusmn; ² sup2;   ³ sup3;   ´ acute;
µ micro;  ¶ para;   · middot; ¸ cedil;  ¹ sup1;
º ordm;   » raquo;  ¼ frac14; ½ frac12; ¾ frac34;
¿ iquest; × times;  Ø Oslash; Þ THORN;  ÷ divide;
ø oslash; þ thorn;  € euro;   Ð ETH;æ aelig;
è egrave; é eacute; ç ccedil; ü uuml;   ö ouml;
 amp;‘ lsquo;  ’ rsquo;   quot;   ' #39;
 lt;  gt; – ndash;  — mdash;


Maybe you can str_replace or strtr (or some other similar function) to
get your international characters in the MySQL data converted to HTML?


-- 
Best regards,
James.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] I have a problem with MsSQL

2003-02-17 Thread Jimmy Huaman
Hi.

My problem is the characters in spanish:

example:

Construcción (Data of MsSQL Server)
  
Result in web with PHP:
Construcci¢n  

Thanks you.




Prompyme a su servicio

-
Prompyme a su servicio.
El Estado su mejor cliente, visite la página de 
  información de Compras del Estado

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php