GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Turkish character display problem
Turkish character display problem
Iniciado por Aybars Morali, abr., 10 2008 10:53 AM - 1 resposta
Conecte-se…
Aybars Morali
#1
Publicado em abril, 10 2008 - 10:53 AM
Hi all,
I am developing a multilingual website with AWP. Languages are Turkish&English. I put a combobox showing languages and whenever it changes language parameter of the links change. And the initialization code of the project checks the pageparameter lang and sets the nation and charset. Nation(nationEnglish), Nation(nationTurkish) and changeCharset(charsetTurkish)
But I have an annoying problem:
In the editing window, for example address is written in Turkish in an edit control, of course containing Turkish characters (ç,ğ,ı,ö,ş,ü and uppercases). When edit button is pressed it performs some checks in server code. If fails returns to the page and shows an error dialog. This way, all the Turkish characters stay same, no problem. But if the checks don't fail, then it adds to database strange characters instead of Turkish characters.
In order to be sure I put another button, it just has the code "Info(EDT_Name)" in server code.
This way result is worse, the page is refreshed and dialog is showed, then the Turkish characters leave their place to their strange friends.
Ok, using multi languages is quite easy in WebDev but how can I correctly use Turkish characters?
Should I use UTF-8?, another charset?
Should I not use these nation and charset stuff in project initialization?
(if you didn't understand what I tried to say, you can test it. go to search for posts page, and search with some turkish characters "ıçğşiü", when you search, in the new page chars are changed)
Aybars The Desperate AWP Developer
Denunciar
0
0
Aybars Morali
#2
Publicado em abril, 14 2008 - 4:15 PM
Come on, hasn't anybody used a different charset?
Aybars The Desperate AWP Developer (:
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto