Author |
Topic  |
taropatch
Average Member
  
USA
741 Posts |
Posted - 03 April 2007 : 17:41:35
|
Is it possible to post unicode representations in Snitz? Please see http://www.geocities.com/aloha_spirit_1893/hawaiian/alphabet.html
I tested this and unicode appears properly in Snitz's preview but not in the actual post. Is there a way for me to mod my forum so that the unicode works in the posts too?
Thanks. |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 03 April 2007 : 22:39:49
|
Oops, sorry. I had incorrectly assumed that that was not something so common. |
 |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 04 April 2007 : 11:58:57
|
Tut tut, thinking you're something special, eh?  |
 |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 05 April 2007 : 14:39:06
|
Shoot, you mean I am not special? 
I found a couple posts with additional code on handing unicode. 2 examples that I found did it a bit differently. I tried one but didn't get it working. Will keep at it until it works. |
 |
|
taropatch
Average Member
  
USA
741 Posts |
|
MarcelG
Retired Support Moderator
    
Netherlands
2625 Posts |
Posted - 09 April 2007 : 04:53:47
|
Taropatch ; I had to add this to config.asp:"
<%
Response.CodePage = 65001
Response.CharSet = "utf-8"
response.write "<!DOCTYPE html PUBLIC ""-//IETF//DTD HTML 2.0//EN"">" & vbnewline
%>
<!--#INCLUDE FILE="inc_adovbs.asp"-->
<!--#INCLUDE FILE="cal_constants.asp"-->
<!--#INCLUDE FILE="inc_base62.asp"-->
<%
'#################################################################################
'## Snitz Forums 2000 v3.4.04
'################################################################################# I've put the ### part in for reference to the original beginning of config.asp. |
portfolio - linkshrinker - oxle - twitter |
 |
|
TSAloha
Junior Member
 
USA
151 Posts |
Posted - 09 April 2007 : 22:06:33
|
Your Hawaiian web page shows ISO-639 charset, though HTML content type set with UTF-8. if SO, you cannot mix charset types as a base encoding scheme. Hawaiian vowels rendering ok with IE7 with UTF-8 encoding, though.
Hawaiian ISO 639-2/639-3 Identifier: haw Name: Hawaiian Status: Active Code sets: 639-2 and 639-3 =====
E `olu `olu
humuhumunukunukuapuaa such a long name for a fish!
I test posted some Hawaiian phrases in 3.4.06 unicode multilingual Snitz, and works, which uses the link info mentioned in your reference.
Aloha nui.
|
|
 |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 09 April 2007 : 23:51:19
|
Taku,
I have no idea what the difference is between UTF-8 and ISO-639 charset? I find it weird that the ISO-639 charset works in the 'preview reply' but it doesn't work when actually posted. |
 |
|
TSAloha
Junior Member
 
USA
151 Posts |
Posted - 10 April 2007 : 15:49:26
|
Taropatch
Please refer to this Wikipedia link per a general description of primary charactersets: ASCII, ISO, and Unicode: http://en.wikipedia.org/wiki/ISO_8859
Per Unicode: http://en.wikipedia.org/wiki/Unicode
Per MS Windows NSL charset groups, please refer to: http://www.microsoft.com/globaldev/nlsweb/default.mspx
Access DB (since 2000) supports unicode multilingal charsets. Rendering proper char sets in preview and post is not a DB issue, it is a presentation layer rendering issue of data in html. Snitz default charset is US-English, ISO Latin-1 group (Most western Europe languages). There are 2 related defenitions for a locale/language - LCID, a locale language code/country code - and a charset type, ISO or Unicode, primarily. When charsets are rendered in a browser, it mapps into an appropriate browser encoding... a list of supported encoding schemes you can see in Page - Encoding, in IE7, for example, and usually have different flavors of encoding schemes for languages with different charset types used - ISO or Windows - and unicode or UTF-8, etc. To properly render your contents properly, you have to view in a browser with a proper encoding scheme. (Same with Firefox).
You will get some "mojibake" or corrupted representation of characters if you set your base forum character set with ISO, and view it in UTF-8 browser encoding, or vice versa.
As Hawaiian script/characters are defined in ISO group, my guess is that there is no particular need to have your website encoded with UTF-8... For some locale languages and special chars/symbols, Unicode may not have them defined... if I remember some old discussion on Turkish and Thai. In this case, you have to directly enter unicode charsets corresponding to such special chars/symbols...
??Perhaps you can try composing a test post in Test Forum here in Snitz with Hawaiian character inputs and see how it works. Am not clear which browser encoding types you may choose in properly rendering them in Hawaiian chars, but you can play with it to see which one is to use.
|
|
Edited by - TSAloha on 10 April 2007 23:01:59 |
 |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 18 January 2008 : 12:44:34
|
I am curious. Would I need to also use Hawaiian fonts on my forum to get this to work?
http://www.olelo.hawaii.edu/enehana/faq_win.php
My unicode test here behaved differently between 1/17 and 1/18. Did something change? I'm pretty sure that I am doing the same thing. |
Edited by - taropatch on 18 January 2008 12:47:37 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 18 January 2008 : 13:01:22
|
well, you can't use non-standard fonts in a forum, since you will only see them if you have the font installed, anyone without the font will just get the normal default font |
 |
|
TSAloha
Junior Member
 
USA
151 Posts |
Posted - 18 January 2008 : 13:50:21
|
Hi, taropatch. You will need to check with Snitz Forum unicoded for testing your Hawaiian lang input. Your Kualono site (php) is set with Utf-8 charset, which is allowing both English and Hawaiian languages.
Snitz Forum here is not configured with codepage=65001 nor charset="utf-8", and when your post is pushed to a html contents, charset corruption occurs if your input is with unicode.
Do you have your own Snitz test forum installed? If so, try to set your forum to support codepage=65001 and charset="utf-8" and test your unicode Hawaiian input there.
FYI re: configuring your base Snitz forums with unicode support, plz refer: here
I posted portion of your Kualono contents in a unicoded forum and it displays ok.
|
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
|
TSAloha
Junior Member
 
USA
151 Posts |
Posted - 18 January 2008 : 13:59:46
|
Right, forgetting the best online site for unicoded Snitz for testing unicode inputs. 
|
|
 |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 18 January 2008 : 14:42:14
|
Thanks guys!
I tested adding the following to config.asp
Session.Codepage = 65001 Response.Charset = "utf-8"
This appears to work. |
 |
|
Topic  |
|