sten Posted March 16, 2012 at 05:01 PM Report Share #444255 Posted March 16, 2012 at 05:01 PM Boa tarde! Antes de mais, sou novo no fórum e não sei se postei no sitío correto. Tenho uma questão. Eu estou a traduzir algumas extensões de um template que adquiri, do qual não está em português. O meu problema são os acentos... Os ficheiros são do tipo .ini , porém eu não sei quais os comandos para cada acento. Os que já sei: á = á é = é ê = ê Ú = ú De resto não sei mais... Poderiam-me enviar a lista completa de caracteres especiais? Cumprimentos, Hugo Link to comment Share on other sites More sharing options...
M6 Posted March 16, 2012 at 05:07 PM Report Share #444256 Posted March 16, 2012 at 05:07 PM Hummm... Os ficheiros devem estar codificados em UTF8, deves usar os códigos HTML dos carateres acentuados e não fazer essas substituição. Usa as entidades desta tabela: http://www.icmc.usp.br/ensino/material/html/especiais.html Em vez de á usas á e assim por diante. 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar." Link to comment Share on other sites More sharing options...
sten Posted March 16, 2012 at 05:17 PM Author Report Share #444258 Posted March 16, 2012 at 05:17 PM Mesmo em ficheiros .ini isso dá? Link to comment Share on other sites More sharing options...
yoda Posted March 16, 2012 at 05:52 PM Report Share #444269 Posted March 16, 2012 at 05:52 PM Grava o ficheiro com este encoding : UTF-8 without BOM. before you post, what have you tried? - http://filipematias.info sense, purpose, direction Link to comment Share on other sites More sharing options...
sten Posted March 19, 2012 at 09:11 AM Author Report Share #444563 Posted March 19, 2012 at 09:11 AM É com isto: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Certo? Link to comment Share on other sites More sharing options...
M6 Posted March 19, 2012 at 09:58 AM Report Share #444569 Posted March 19, 2012 at 09:58 AM É com isto: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Certo? Isso não é para meter nos .ini. Isso já é introduzido no Joomla! pela framework/templates. 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar." Link to comment Share on other sites More sharing options...
sten Posted March 19, 2012 at 12:42 PM Author Report Share #444609 Posted March 19, 2012 at 12:42 PM Obrigado a todos 😁 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now