PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 25 → Gravar texto com acentuação
Gravar texto com acentuação
Iniciado por ANDRE MARTINI / IS2, 26,feb. 2016 11:56 - 14 respuestas
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 26,febrero 2016 - 11:56
Quando eu estou digitando um novo registro permite colocar acento, mas grava o sistema salva sem acento, o que preciso mudar?

ainda não consegui entender por que acontece isso!

veja as imagens em anexo, quando vou cadastrar a cidade DOIS IRMÃOS o sistema aceita a acentuação, mas depois que grava fica sem o acento.











--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
44 mensajes
Popularité : +7 (7 votes)
Publicado el 26,febrero 2016 - 14:15
Se for RAD: procure no código por NoAccent!

--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 26,febrero 2016 - 17:34
é RAD mas não tem este código NoAccent. pesquisei na opção Home\Find

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
44 mensajes
Popularité : +7 (7 votes)
Publicado el 26,febrero 2016 - 19:11
Veja nos componentes do form e também dentro da analise! Provavelmente tem algo nesses pontos!

--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 26,febrero 2016 - 20:12
tá sinistra a coisa!

fiz uma janela com edt manual e gravei manual o registro e não grava com acento. mudei no analysis marcando a opção [accent sensitive] e não gravou com acento.

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 26,febrero 2016 - 20:24
gravei direto daí gravou com acento:
Cidades.Codigo_da_cidade = 23
Cidades.Nome_da_cidade = "PETRÓPOLIS"
Cidades.UF = "RS"
HAdd(Cidades)


porém no componente table não exibe correto o acento, fica um caracter estranho "PETRΣPOLIS" se for alterar o registro fica com o mesmo problema no edt

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 26,febrero 2016 - 20:25
obs. sei que gravou com acento porque olhei no hfsql control center

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
44 mensajes
Popularité : +7 (7 votes)
Publicado el 26,febrero 2016 - 21:27
Amigo, já tentou aqui neste campo?

--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Miembro registrado
44 mensajes
Popularité : +7 (7 votes)
Publicado el 26,febrero 2016 - 21:28




--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 01,marzo 2016 - 00:37
no meu projeto tem 02 idiomas nesta tela nesta ordem:

English
Brazilian Portuguese


O que devo fazer nesta tela?

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 01,marzo 2016 - 00:49
Fiz um projeto novo só de teste somente com Brazilian Portuguese e funcionou, o que precisa ser alterado para funcionar acentuação no multilingue?

no projeto com 02 idiomas tem o seguinte código após escolher o idioma:

SWITCH RADIO_languague
CASE 1: // Inglês
Nation(nationEnglish)
CASE 2: // Português Brasil
Nation(nationBrazilianPortuguese)
ChangeCharset(charsetGreek)
ChangeKeyboard(charsetGreek)
END
Close(WIN_language)


Obs.: esta janela é aberta no código do projeto "Initializihg Projeto"

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
44 mensajes
Popularité : +7 (7 votes)
Publicado el 01,marzo 2016 - 19:17
Remova a língua inglesa, caso não for multi-língua e deixe apenas isto...
ChangeCharset(charsetDefault)


--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Miembro registrado
213 mensajes
Popularité : +25 (25 votes)
Publicado el 01,marzo 2016 - 20:27
Muitíssimo obrigado pela ajuda.

Deixei multi-lingue e apenas mudei de:
ChangeCharset(charsetGreek)
ChangeKeyboard(charsetGreek)

para
ChangeCharset(charsetDefault)


... e funcionou! Este é um projeto de exemplo, não tinha necessidade de ter 02 idiomas, mas valeu o aprendizado.

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Miembro registrado
44 mensajes
Popularité : +7 (7 votes)
Publicado el 02,marzo 2016 - 14:01
POSITIVOOOOO :D

--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Miembro registrado
3.661 mensajes
Popularité : +175 (223 votes)
Publicado el 15,marzo 2016 - 18:37
Prezados,

Em resumo para tirar a acentuação numa importação use:

Campo = NoAccent( UTF8ToString( NovoTexto ) )

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.blogspot.com.br/