Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Unicode in posts
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

taropatch
Average Member

USA
741 Posts

Posted - 03 April 2007 :  17:41:35  Show Profile
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

Posted - 03 April 2007 :  18:02:46  Show Profile  Send ruirib a Yahoo! Message
There are many posts about that. Please use the search page. Just using 'unicode' on the General Help forum brought about 10 posts with the proper solution for that.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 03 April 2007 :  22:39:49  Show Profile
Oops, sorry. I had incorrectly assumed that that was not something so common.
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 04 April 2007 :  11:58:57  Show Profile  Send pdrg a Yahoo! Message
Tut tut, thinking you're something special, eh?
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 05 April 2007 :  14:39:06  Show Profile
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.
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 08 April 2007 :  23:49:16  Show Profile
I have tried altering my inc_header.asp and inc_header_short.asp files as outlined at http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63511

It is not working, though. I am using Access. Am I missing something?
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 09 April 2007 :  04:53:47  Show Profile  Visit MarcelG's Homepage
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
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 09 April 2007 :  22:06:33  Show Profile
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.









Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 09 April 2007 :  23:51:19  Show Profile
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.
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 10 April 2007 :  15:49:26  Show Profile
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
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 18 January 2008 :  12:44:34  Show Profile
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 18 January 2008 :  13:01:22  Show Profile  Visit HuwR's Homepage
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
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 18 January 2008 :  13:50:21  Show Profile
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.





Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 18 January 2008 :  13:56:30  Show Profile  Visit HuwR's Homepage
or you can test unicode posting at the snitz.net beta site http://snitz.reddiweb.com/default.aspx
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 18 January 2008 :  13:59:46  Show Profile
Right, forgetting the best online site for unicoded Snitz for testing unicode inputs.



Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 18 January 2008 :  14:42:14  Show Profile
Thanks guys!

I tested adding the following to config.asp

Session.Codepage = 65001
Response.Charset = "utf-8"

This appears to work.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07