Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > HOWTO: Enter non-latin/Unicode text on latin-based website

HOWTO: Enter non-latin/Unicode text on latin-based website
Thread Tools
oeyvind
Senior User
Join Date: Mar 1999
Location: Somewhere near 1º18'N 103º50'E
Status: Offline
Reply With Quote
Aug 4, 2004, 03:06 AM
 
Ever wonder how to enter non-latin/unicode text on a latin based (and non Unicode) website?

Here's a tip for you: HOWTO: Enter non-latin/Unicode text on latin-based website

^^
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Aug 4, 2004, 03:42 AM
 
Test

∛∢∀∰⌘⌛&# x23cf;⎈▩◑☀☃&#x2 60e;☢☠☺☯☮&#x262 d;♬♻⚄♣✄➓& #x279c;

Cool tip!
( Last edited by Developer; Aug 4, 2004 at 10:47 AM. )
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
oeyvind  (op)
Senior User
Join Date: Mar 1999
Location: Somewhere near 1º18'N 103º50'E
Status: Offline
Reply With Quote
Aug 4, 2004, 10:35 AM
 
glad you like it!
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Aug 4, 2004, 10:35 AM
 
You don't even need Unicode Checker if you use Firefox instead of Safari. It's really just a Safari problem that you can't reliably input Unicode text to a Latin-based website.

And this is in the wrong forum.
     
oeyvind  (op)
Senior User
Join Date: Mar 1999
Location: Somewhere near 1º18'N 103º50'E
Status: Offline
Reply With Quote
Aug 4, 2004, 10:38 AM
 
Originally posted by wataru:
You don't even need Unicode Checker if you use Firefox instead of Safari. It's really just a Safari problem that you can't reliably input Unicode text to a Latin-based website.

And this is in the wrong forum.
Cool, nice to know that Firefox will do that automatically... ^^ Anyway I think I did file this as a bug... on Safari.
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Aug 4, 2004, 10:43 AM
 
Originally posted by wataru:
You don't even need Unicode Checker if you use Firefox instead of Safari.
Unfortunately Firefox doesn't support Unicode (just WorldScript). Try entering (or just viewing) all the characters in my above post in Firefox.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
oeyvind  (op)
Senior User
Join Date: Mar 1999
Location: Somewhere near 1º18'N 103º50'E
Status: Offline
Reply With Quote
Aug 4, 2004, 10:48 AM
 
Originally posted by Developer:
Unfortunately Firefox doesn't support Unicode (just WorldScript). Try entering (or just viewing) all the characters in my above post in Firefox.
I just tried with Firefox, with your text it works great (thanks again wataru):

http://forums.clubsnap.org/showpost....13&postcount=1
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Aug 4, 2004, 10:49 AM
 
Originally posted by Developer:
Unfortunately Firefox doesn't support Unicode (just WorldScript). Try entering (or just viewing) all the characters in my above post in Firefox.
Your post looks identical in Safari and Firefox.

And input is not a problem either. This was a copy and paste job:
∛∢∀∰⌘⌛⏏⎈▩◑☀☃☎☢☠☺☯☮☭♬♻⚄♣✄➓➜

Trust me, I have plenty of experience with this. Check out Xeo's thread in the lounge about his trip to Japan. In several places I posted Japanese characters with Firefox that everyone could read. However, when forkies posted some Japanese with Safari everyone had to finagle their text encoding to get it to come out right. Firefox seems to basically do exactly what you need Unicode Checker to do in Safari--it converts Unicode to HTML entites. Except that it does it automatically.

Here's some more for you, all input straight from Kotoeri, the standard OS X Japanese text input method:
ファイアフォックスは世の中で最高のブラウザーである。この事実を否定するものは永遠に二流のブラウザーの 虜となってしまう。
( Last edited by wataru; Aug 4, 2004 at 10:56 AM. )
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Aug 4, 2004, 11:47 AM
 
Originally posted by wataru:
Your post looks identical in Safari and Firefox.
It doesn't for me.
( Last edited by Developer; Aug 4, 2004 at 11:52 AM. )
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Aug 4, 2004, 03:02 PM
 
Originally posted by Developer:
It doesn't for me.
Well I don't know what your problem is, but it does for me.

Edit: Hmm. Actually they do look a little different. Which one is correct? And regardless, Firefox handles Japanese text much better than Safari does.
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Aug 4, 2004, 03:28 PM
 
Originally posted by wataru:
Well I don't know what your problem is, but it does for me.
Have a closer look! The telephone symbol after the snowman is displaying wrong. After the musical note the recycling and dice symbol are not displaying and the clubs symbol is not displaying correctly.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
Kristoff
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 4, 2004, 04:14 PM
 
the forums support unicode characters?
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Kristoff
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 4, 2004, 04:17 PM
 
В советской России, non латинский текст показывает вас!
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
[email protected]
Forum Regular
Join Date: Feb 2001
Location: Flagstaff, AZ 86004
Status: Offline
Reply With Quote
Aug 4, 2004, 08:31 PM
 
Originally posted by Kristoff:
the forums support unicode characters?
I think they support ascii representations of unicode characters
which your browser hopefully translates into the characters
themselves.
     
[email protected]
Forum Regular
Join Date: Feb 2001
Location: Flagstaff, AZ 86004
Status: Offline
Reply With Quote
Aug 4, 2004, 08:34 PM
 
Originally posted by Developer:
Have a closer look! The telephone symbol after the snowman is displaying wrong. After the musical note the recycling and dice symbol are not displaying and the clubs symbol is not displaying correctly.
Firefox certainly supports Unicode. The differences in the
two browsers' displays are probably related to the way they
handle fonts and different fonts installed on different
systems.
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Aug 4, 2004, 09:55 PM
 
Originally posted by [email protected]:
Firefox certainly supports Unicode. The differences in the
two browsers' displays are probably related to the way they
handle fonts and different fonts installed on different
systems.
But the screenshot was side-by-side on the same system...
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Aug 5, 2004, 12:37 AM
 
Originally posted by Chuckit:
But the screenshot was side-by-side on the same system...
That doesn't preclude the possibility that Firefox simply handles fonts differently from Safari.
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Aug 5, 2004, 05:48 AM
 
Originally posted by wataru:
That doesn't preclude the possibility that Firefox simply handles fonts differently from Safari.
Well, it's a matter of fact that Mozillas use QuickDraw text and QuickDraw text doesn't do Unicode but only WorldScript (WorldScript can do most of Japanese).

According to discussion in this bug Mozillas resort to ATSUI for text that falls out of the WorldScript range. However they only draw character by character (which means no ligatures and stuff).

Therefore I stand corrected. Mozillas do support Unicode albeit not properly. Proper Unicode support could only be achieved by fully adopting ATSUI and ditching QuickDraw text.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
Rickster
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Aug 5, 2004, 05:59 PM
 
It's not necessarily a good thing for a browser to automatically convert characters to HTML/XML character entities when submitting a form -- while it's often a safe assumption that the contents of a form submission will later end up presented as part of an HTML/XML document, there's no standard dictating what text encoding a user agent should use for form submissions or what it should do with out-of-encoding bytes.

Some servers do character entity conversion on their end, or don't end up presenting submitted data in HTML/XML. So while your forum posts might look great with their Japanese or Russian text or dingbats, you might run into oddities elsewhere... like having your online shopping orders come out addressed to "John & Sally Smith" or whatnot.

Automatic entity conversion would be nice as an optional feature that could be used only as needed (it's something we looked at for OmniWeb 5 but that didn't make the schedule for 5.0). But a browser that does it all the time distorts the web-standards landscape -- just like a browser with non-standard implementations of standard DOM properties or CSS selectors.
Rick Roe
icons.cx | weblog
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:23 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,