| 
	
 | 
 Posted by Petr Vileta on 06/18/22 11:57 
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in 
 news:obmdnXcAL5-qLGPZnZ2dnUVZ_qidnZ2d@comcast.com... 
> Yes, the browsers convert the characters.  But what does the character "â"  
> mean in a Word document or a pdf?  Is it a left or right quote?  A bullet?  
> Something else? 
> 
> That's what he needs to know, not the utf-8 codes. 
> 
If you see "â" in Word or Acrobat (reader) then this is a character. If you  
see quote or bullet then this is a quote or bullet. Value of character code  
is not important at this moment. IMHO user must cut text in Word or Acrobat  
and paste in browser and at this moment all clipboard content is converted  
to UTF-8 or UTF-16 as you have defined in html (php) page. 
I have many pages where users paste text into <texarea> from Word, Acrobat,  
Corel and more applications and I have no problem with converting characters  
because my pages are defined as unicode (UTF-16) and my database too. For my  
pages is irrelevant if user is Czech, English, German, Japanese, Russian or  
Martian :-) 
My recommendations is: if you have problem with charsets, use unicode  
(UTF-16) at all. 
--  
 
Petr Vileta, Czech republic 
(My server rejects all messages from Yahoo and Hotmail. Send me your mail  
from another non-spammer site please.)
 
  
Navigation:
[Reply to this message] 
 |