Jump to content

character encodings in html


dsaba

Recommended Posts

1. I need to know if there is a website where I can view a list of all the character encodings available to use in html

 

2. also i need to know what I need to put for this:

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

where it says "charset=......."

 

for: hebrew_bin

      hebrew_general_ci

      utf8_bin

      hebrew (iso-logical)

      hebrew (iso-visual)

      hebrew (windows)

      hebrew (DOS)

 

thank you, (keep in mind, i'm not asking for advice on how to show hebrew characters in html, i'm asking specifically for this information or a place where I can get this information)

 

 

Link to comment
Share on other sites

no you misunderstand me

 

I'm talking about charsets

 

for example utf-8

is charset="utf-8"

 

that one is easy

but what about the rest I listed? how the hell do you write charset hebrew (dos) ???

                                                                                          hebrew_bin

etc......

 

-thank you

Link to comment
Share on other sites

for example i found this:

hebrew   | ISO 8859-8 Hebrew           | hebrew_general_ci

 

how would I call that charset in html?

 

what about if I wanted to use charset for hebrew (windows) in mysql

charset=windows-1255

Hebrew Alphabet (Windows)

 

well mysql does not let you choose language charsets, it only lets you choose coalitions

so what coalition is charset windows- 1255 ????

Link to comment
Share on other sites

i'm scratching my head over this one

I want to know what encoding or charset php is treating my strings that I pull from my database

so i run this:

mb_check_encoding($string, iso-8859);

 

however it gives me this error:

Fatal error: Call to undefined function: mb_check_encoding()

 

so I look up in the php.net manual:

mb_check_encoding

(PHP 4 >= 4.4.3, PHP 5 >= 5.1.3)

 

then I call the phpinfo(); function and it tells me:

PHP Version 4.4.3

 

shouldn't that version have mb_check_encoding compiled in it? WHATS GOING ON!!!

Link to comment
Share on other sites

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.