Problemas com acentuação
Eu tenho enfrentado esse problema há algum tempo, eu sei que o Elgg suporta UTF-8 de até 3 bytes, porém eu sei que esse problema está no meu servidor, que ao traduzir um plugin para o meu idioma, o banco de dados não está salvando os acentos.
Eu realmente não sei mais o que estou fazendo. Por exemplo, as palavras são assim:
( ACENTAR ♦♦ O, PUBLICAR ♦♦ O, VOC ♦, NÃO ♦ CIAS )
estas palavras eu usei como exemplo
O que devo fazer para comunicar minha empresa de hospedagem? para se juntar a mim no que fazer.
I have the latest version of Elgg 2.3.0
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- jmperu@jmperu
jmperu - 0 likes
- lorena@lorena
lorena - 0 likes
- lorena@lorena
lorena - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- https://elgg.org/plugins/385116
- https://elgg.org/plugins/1272422
- jmperu@jmperu
jmperu - 0 likes
- lorena@lorena
lorena - 0 likes
- lorena@lorena
lorena - 0 likes
You must log in to post replies.so that the database is well filled with the accents it is necessary to put $ conn = mysqli_connect ($ DB_HOST, $ DB_USERNAME, $ DB_PASSWORD, $ DB_NAME) or die ("Unable to select database:". mysqli_error ()); mysqli_set_charset ($ conn, 'utf8'); for the site it is necessary in php ini_set ('default_charset', 'UTF-8'); in html <meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> for some chain $ string = utf8_encode (string with accents);
By default, the installation works perfectly accentuation, only when I modify the language of a plugin
I use the "WordPad" program to edit plugin language, after edited, send that way again to the server, is this the error? which file is used in a plugin?
@lorena Use Notepad++
Set up it: Go to 'Encoding' tab menu -> Check on 'Encode in UTF-8 without BOM'
Use this option ALWAYS when editing/creating .php file
Learn this also
Look at these plugins too:
editeur PSPAD editor
format utf8
Okay. I'm going to try this and I come back to finish the topic, I tried the adobe dreamweaver and it did not work, continued with the accent error
Ready! sorted out!! Many thanks for the support. using notepad ++ converts the accents perfectly.