Comunidad de diseño web y desarrollo en internet online

Problema con la ortografia

Citar            
MensajeEscrito el 13 Ago 2014 01:18 pm
Buen dia para todos los programadores de este foro..
tengo un problema en mi pagina web, cuando intento introducir una palabra que lleve un acento o una ñ, al visualizar la pagina aparese la letra que lleva el acento o la ñ en una figura que no se entiende...

aqui le pongo un ejemplo de que se trata, en la palabra pixeles apareese algo como una A y también en la palabra Pagina, esto aparece cuando las palabras tienen un acento o cuando se escribe una ñ, a que se debera este problema

No hay reembolsos o debolucion una vez que su bloque de píxeles es aceptado y puesto en la página.

Por kokesoft

13 de clabLevel



 

chrome
Citar            
MensajeEscrito el 13 Ago 2014 02:19 pm
Supongo que estas trabajando con mysql o alguna base de datos, o codigo html, no termine de entender, pero este problema viene de el cotejamiento de base de datos o tu archivo .html lo que sea .

Solucion en HTML:

<meta http-equiv="content-type" content="text/html; charset=utf-8">

Solucion en Mysql:

ALTER DATABASE `mibbdd` DEFAULT CHARACTER SET utf8 COLLATE utf8_spanish_ci

Saludos

Por G33N

2 de clabLevel



 

firefox
Citar            
MensajeEscrito el 13 Ago 2014 02:29 pm
Estoy trabajando con mysql y con php....

Por kokesoft

13 de clabLevel



 

chrome
Citar            
MensajeEscrito el 13 Ago 2014 02:35 pm
Pega el codigo o explicame mejor como funciona lo que queres hacer..

INSISTO ES PROBLEMA DE COTEJAMIENTO DE TU DB

podrias decirme que cotejamiento tiene tu DB? o el campo donde ingresas esta informacion??

Leete este post, esta 100% completo para solucionar lo que te esta pasando.

http://dbarreno.wordpress.com/2012/10/27/la-solucion-a-los-problemas-con-los-acentos-en-php-mysql-y-html/

espero que te sirva!

Por G33N

2 de clabLevel



 

firefox
Citar            
MensajeEscrito el 13 Ago 2014 02:36 pm
si tenes este codigo en tu archivo php:

mysql_set_charset('utf8');

Y tenes el cotejamiento de la DB con la misma config los acentos y "Ñ" deberian verse bien :D

Por G33N

2 de clabLevel



 

firefox
Citar            
MensajeEscrito el 13 Ago 2014 02:39 pm
aqui esta el codigo de mi base de datos...

# Table structure for table `million_buypix_page`
#

CREATE TABLE `million_buypix_page` (
`id` int(2) NOT NULL default '0',
`page_code` text NOT NULL
) ENGINE=MyISAM;

#
# Dumping data for table `million_buypix_page`
#

INSERT INTO `million_buypix_page` (`id`, `page_code`) VALUES (1, '<h2>Purchase Pixels</h2>\r\n<hr class="c"/>The idea is simple one: to try and make $1m (US) by selling 1,000,000 pixels for $1 each. Hence, ''The Million Dollar Homepage".\r\n<p>Everyone is welcome to buy my pixels, which are available in 100-pixel ''blocks'' (each measuring 10x10 pixels). The homepage is divided into 10,000 of these 100-pixel blocks (hence there are 1,000,000 pixels in total). The reason for selling them in 100-pixel blocks is because anything smaller would be too small to display anything effectively.</p>\r\n<p>You can buy as many pixels as you like, as long as there are some available (see the live stats in the top right corner of the page). When you buy some pixels, you can then display an image/ad/logo of your choice in the space you have purchased. You can also have the image click through to your own website. However, no obscene or offensive images are allowed.</p>\r\n<p>The pixels you buy will be displayed on the homepage permanently. The homepage will not change. Using some of the money I make from the site, I guarantee to keep it online for at least 5 years, but hopefully much longer. I want it to become a kind of internet time capsule. So, in the long run, I believe the pixels will offer good value. You will helped create a piece of internet history and a bit of art to boot!</p>\r\n<p>&nbsp;</p>\r\n<h4>Conditions of Purchase</h4>\r\n<ul>\r\n <li>Minimum Purchase: $100 USD (1 Pixel block - 10x10). Feel free to buy as many as you like. </li>\r\n <li>You are purchasing a pixel advertisement on the main page lasting at least 5 years (hopefully more if we get enough funding). </li>\r\n <li>You are only allowed to change the Image if your site has undergone a major change. Otherwise it is final. </li>\r\n <li><font color="#ff0000">No refunds once your pixel block is accepted and put on the main page.\r\n <li>No obscene/offensive/adult images/links will be accepted. </li>\r\n <li>If your link is accepted and you later change the content of the linked site to show offensive/obscene/adult material then your link will be removed until you provide a new one, and you will not get a refund of any kind for the link downtime. </li>\r\n </font></li>\r\n <li>You can get your image removed at any time but it will become publicly available again and you will not receive a refund. </li>\r\n <li>Images must be the exact size you have paid for (eg. 100 pixels = 10x10 pixels) </li>\r\n <li>Images must be in GIF, PNG, BMP, or JPEG format AND not animated. </li>\r\n <li>Links must be to web pages only and begin with http:// </li>\r\n <li>You must have the right to use the image you provide. </li>\r\n <li>There might be occasional downtime for site maintenance but that will be kept to a minimum and will only be done when switching servers or upgrading </li>\r\n <li>Your pixels will be added within 24 hours from time of purchase. </li>\r\n</ul>\r\n<p>Ok great, so now you''re all set to buy some pixels. </p>\r\n<p>&nbsp;</p>\r\n<h4><font color="#0000ff">PayPal</font></h4>\r\n<p>PayPal is the ideal payment method for purchasing 100 to 1,000 pixels. Because the pixels are sold in $100 blocks, please ensure you order the correct quantity of blocks when ordering. </p>\r\n<p>Ordering is now done automatically through the grid selection page. <a href="index.php">Visit the grid page</a> and simply click on the cell that you would like to purchase. After your selection you will have the opportunity to expand your selection in height and width. </p>');

Por kokesoft

13 de clabLevel



 

chrome

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.