PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Problem with Armenian language(armscii-8) (http://www.phpdig.net/forum/showthread.php?t=1777)

Aram 01-26-2005 10:12 PM

Problem with Armenian language(armscii-8)
 
Hello friends, Who can help me with problem connected to Armenian language.
How we using Armenian language. Up to appeare the Acrmscii-8, all user(designer) used brouser's user-defined encoding to show our language, or unicode, but at the designing(coding) the Web site with unicod system in the WIN system, we have a some problem, because, notepad, and other editors during the work with unicode add in the start of page some simbole(~^= like this).

NOW our site was developed on the armscii-8 system(ASCII), but I can't adjust PHPDIG, because: whene I do indexing with the encoding armscii-8, or x-user-defined( define('PHPDIG_ENCODING','armscii-8') ), PHPDIG dosent indexing site normal,
BUT then I define define('PHPDIG_ENCODING','iso-8859-1'), indexing dose GOOD, but
when I TRy to search something the resoult didn't apeare(may be all Armenian Letters, that I defined in the
$phpdig_string_subst['armscii-8'] AND $phpdig_words_chars['armscii-8'] ), separeted.

BUT WHEN I find some english word, all Armenian word appear normal, so mysql dosent heve any problem with Armenian and store/output ASCII Armenian,

AND ITS MAIN THING, When i copy some armenian words(what had been outputed whene i search some english words), and past in the input box for new search, IT'S WORK.
I'm in the emberres setuation, because WHY.
I think, problem in the Following,
that I enter some word(ASCII) in the input box for search, PHPDIG changed this words encoding(may be to Unicode), and cant find out, because in the MySQL stored ASCII. :confused: .

PLEASE HELP ME. may be you now where in the code I can change this reencoding part, or may be you have some other suggestions. :)


All times are GMT -8. The time now is 05:17 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.