Jump to content

Recommended Posts

I have created a web site to submit to the web page. the language of the site is maltese and have some special character ex:

 

Capitals

Ċ Ċ (capital C dot) normalKeyboard key = ~

Ġ Ġ (capital G dot) normalKeyboard key = {

Ħ Ħ (capital H bar) normalKeyboard key = }

Ż Ż (capital Z dot) normalKeyboard key = |

 

Lowercase

ċ ċ (lower C dot) normalKeyboard key = `

ġ ġ (lower G dot) normalKeyboard key = [

ħ ħ (lower H bar) normalKeyboard key = ]

ż ż (lower Z dot) normalKeyboard key = \

 

if I use a maltese keyboard in the textBox the text will be displayed incorect and if i use the html Code it will be seen corectly.

 

I used the strReplace but the z with a dot is being duplicated when changing from \ to ż  ?

Link to comment
https://forums.phpfreaks.com/topic/100109-adding-converting-symbols-to-html-code/
Share on other sites

ermmm - not sure exactly what your are asking but if the text in your text box is submitted to a database then ensure that the database has the correct character encoding support AND that you have the correct language and corresponding text format i your headers (probaly best to stick to utf8...

 

Sorry but that is all I can suggest right now - if you could provide a little more detail as to what you are doing (is this a cms of a flat file site etc etc) then we may be able to help a little more...

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.