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
https://forums.phpfreaks.com/topic/44449-character-encodings-in-html/
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

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 ????

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!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.