Íàäïèñè èç áàçû äàííûõ è â êîäå ñòðàíèö - â ðàçíûõ êîäèðîâêàõ Íàäïèñè èç áàçû äàííûõ è â êîäå ñòðàíèö - â ðàçíûõ êîäèðîâêàõ
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Íàäïèñè èç áàçû äàííûõ è â êîäå ñòðàíèö - â ðàçíûõ êîäèðîâêàõ

Started by VodkaShot, April 09, 2006, 06:02:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VodkaShot

Ó ìåíÿ âñå ïîøëî íà ïåðåêîñÿê ïîñëå óñòàíîâêè 1.4.4 ñ íàäïèñÿìè íà ðóññêîì ÿçûêå.  Íèêàêèå òàíöû ñ áóáíîì íå ïîìîãàþò.  Íàäïèñè èç áàçû äàííûõ è â êîäå ñòðàíèö - â ðàçíûõ êîäèðîâêàõ.  Âîò, ïîëþáóéòåñü. 
http://forum.ptcruiserclub.ru/gallery/
Ïîëîâèíà ãàëëåðåé âîîáùå ïåðåñòàëà îòêðûâàòüñÿ, ïîêàçûâàåò áåëûå ñòðàíèöû, õîòÿ âñå ôîòêè íà ìåñòå. Ïðè ýòîì êîãäà ñòàâèøü íà àíãëèéñêèé - âñå ðàáîòàåò (òîëüêî íàäî âðó÷íóþ âûñòàâëÿòü Córillic (Windows) â áðàóçåðå).
Ãîñïîäà äâåëîïåðû è ïåðåâîä÷èêè.  Î÷åíü ïðîøó êàê ìîæíî áûñòðåå âñå èñïðàâèòü.

Alex Revo

#1
Ó òåáÿ ãàëåðåÿ â êîäèðîâêå UTF-8 ñòàëà, ÷òî òàê è äîëæíî áûòü â ïðèíöèïå...

Ó ìåíÿ âåðñèÿ 1.4.4 íå õîòåëà ðàáîòàòü ñ êîäèðîâêîé âèí-1251 â ÈÅ

Èñõîäíûå äàííûå: êïã1.4.4 + òåìà â êîäèðîâêå âèí-1251 + lng ôàéë russian.php ñ êîä ÓÒÔ-8

Ðóññèôèêàòîð ÓÒÔ-8 + íàøà òåìà íà âèí-1251 = àáðàêàäàáðà
Ðåøåíèå: ïåðåêîäèðîâàë ôàéë áëîêíîòîì â ANSI (êèðèëèöà Âèíäîâñ) - ñòàëî íîðìàëüíî
Çàõîæó ïîä ÈÅ - ïóñòîé áëàíê. Ñòàâëþ â íàñòðîéêàõ ÈÅ êîäèðîâêà - àâòî - âèí-1251 - ðàáîòàåò...

Îáíîâëÿþ ñòðàíèöó - îïÿòü ïóñòîé áëàíê.  Îïåðå 9 âñå ÷åòêî.
Ñòàâëþ â êîíôèãå êïã - ÿçûê: ðóññêèé, îòêàò åñëè íå íàéäåíà ôðàçà - äà, êîäèðîâêà - ÿç.ôàéë ïî óìîë÷àíèþ (íå ðåêîìåíäóåòñÿ)Çàõîæó ïîä ÈÅ - âñå íà ðóññêîì - ìåíþ êïã íà àíãë...

Ðåøåíèå: äîáàâëÿþ â admin.php â ðàçäåë $charsets =ñòðîêó 'Win1251' => 'Windows-1251',
çàõîæó â êîíôèã- ÿçûê: ðóññêèé, îòêàò - äà, êîäèðîâêà: âèí1251, ñîõðàíèòü
Âñå çàðàáîòàëî, âñå íà ðóññêîì, íî åñëè çàéòè â êîíôèã, òàì âèí1251 íå ñîõðàíÿåòñÿ, à âñå âðåìÿ ñàì ñëåòàåò íà "ÿç.ôàéë ïî óìîë÷àíèþ (íå ðåê)"

Íî âñå ðàáîòàåò...

ùàñ íîðìàëüíî âñå îòîáðàæàåòñÿ, íî íå ðàáîòàåò ïîèñê, òàê ÷òî îò ïåðåõîäà íà Þíèêîä íèêàê íå óéòè...

íàøåë ðåøåíèå ñ ïîèñêîì: http://forum.coppermine-gallery.net/index.php?topic=29354.0

Makc666

Quote from: VodkaShot on April 09, 2006, 06:02:06 PM
Ó ìåíÿ âñå ïîøëî íà ïåðåêîñÿê ïîñëå óñòàíîâêè 1.4.4 ñ íàäïèñÿìè íà ðóññêîì ÿçûêå.  Íèêàêèå òàíöû ñ áóáíîì íå ïîìîãàþò.  Íàäïèñè èç áàçû äàííûõ è â êîäå ñòðàíèö - â ðàçíûõ êîäèðîâêàõ.  Âîò, ïîëþáóéòåñü. 
http://forum.ptcruiserclub.ru/gallery/
Ïîëîâèíà ãàëëåðåé âîîáùå ïåðåñòàëà îòêðûâàòüñÿ, ïîêàçûâàåò áåëûå ñòðàíèöû, õîòÿ âñå ôîòêè íà ìåñòå. Ïðè ýòîì êîãäà ñòàâèøü íà àíãëèéñêèé - âñå ðàáîòàåò (òîëüêî íàäî âðó÷íóþ âûñòàâëÿòü Córillic (Windows) â áðàóçåðå).
Ãîñïîäà äâåëîïåðû è ïåðåâîä÷èêè.  Î÷åíü ïðîøó êàê ìîæíî áûñòðåå âñå èñïðàâèòü.


Äóìàþ, ÷òî òû óæå ðåøèë äàííóþ ïðîáëåìó ïóò¸ì ïåðåêîäèðîâêè áàçû äàííûõ ÷åðåç ôàéë charsetmgr.php
Îòïèøè, ïîæàëóéñòà...