Snukzz Posted August 11, 2005 Report Share Posted August 11, 2005 (edited) :ph34r: Ir taa, ka php generee javascriptu kursh izvaada kluudas, vieniigaa probleema ir taa ka neparaadaas latviehsu burti! ja raksti ā tad paraadaas a^(tip a ar jumtinju) un ja raksti & # 257; (tipa shitas ir domaats kopaa!) tad taa arii paraadas! ir ideejas! ? :blink: Edited August 11, 2005 by Snukzz Link to comment Share on other sites More sharing options...
Analgiins Posted August 11, 2005 Report Share Posted August 11, 2005 charsets kaads lapai meta tagos noraadiits ? Link to comment Share on other sites More sharing options...
bubu Posted August 11, 2005 Report Share Posted August 11, 2005 Visdrīzāk nesakrīt ģenerēta JS čarsets ar lapā izmantot čarsetu. Link to comment Share on other sites More sharing options...
Snukzz Posted August 12, 2005 Author Report Share Posted August 12, 2005 Man lapaa staav windows-1257 un kur tam "h" j-skriptam tas jaanoraada - man nav ne jausmas... :( Link to comment Share on other sites More sharing options...
bubu Posted August 12, 2005 Report Share Posted August 12, 2005 Javascript kodējums nekur nav jānorāda, tas izmanto to html charsetu, lai attēlotu to, ko tam jāizvada. Bet tā kā tu teici, ka tev php ģenerē JS, tad čarsetu vaina jāmeklē tur - piemēram varbūt php uzģenerē ne-cp1256 kodējumā stringus, ko izmanto JS, bet, tā kā lapa izmanto cp1257, tad tie stringi protams rādīsies nekorekti. Link to comment Share on other sites More sharing options...
Snukzz Posted August 12, 2005 Author Report Share Posted August 12, 2005 :huh: .... kaa to noveerst? man tiehsaam melna bilde... man muuziigi chakars ar tiem charsetiem...!!! :( :unsure: Link to comment Share on other sites More sharing options...
bubu Posted August 12, 2005 Report Share Posted August 12, 2005 A man zināt, kā un no kurienes php tu ģenerē to JS? Link to comment Share on other sites More sharing options...
Snukzz Posted August 12, 2005 Author Report Share Posted August 12, 2005 skripta kods Ir viena probleema... sito es pac necepu - taadeelj jau te murgoju :P Link to comment Share on other sites More sharing options...
bubu Posted August 12, 2005 Report Share Posted August 12, 2005 Nu un tev nav tā, ka fails, kurā ir tās JS_ERROR, ENTRY_GENDER_ERROR, u.c. konstantes definētas, ir uzlikts cits kodējums nevis win1257? Link to comment Share on other sites More sharing options...
Recommended Posts