Site, Sunucu Sorunlarınız ve Çözümleri » Database

sql yedeğimde türkçe karakter hatası

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » Database
 
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar
Extreme yoksa Sayyac var!
Ücretsiz İstatistik Servisi
Sayyac.com

Reply
 
LinkBack Thread Tools Display Modes
  #11  
Old 14.03.08, 19:15
Cedric's Avatar
WHM VIP Member
 
Join Date: Mar 2008
Posts: 163
Rep Power: 1
Cedric is on a distinguished road
1-) notepad ya da benzeri bir program ile sql dosyasını açıyorsun (başka program önermiyorum hızlı yapan var mı diye 10 tane program denedim.. notepad++ vardı. o da bu karakterlerden ş harfinin eşi ile sorun çıkarttı)
2-) CTRL+H ile bul,değiştir kutusunu açıyorsun. o kutudaki match case (büyük küçük harf eşleştir) kutusunu işaretliyorsun
3) tek tek aşağıdaki her harften bir tanesini yukarı bir tanesini aşağı yazıyorsun
ilk satırda bulunacak harfler
ikinci satırda karşılık olarak değiştirilecek harfler şeklinde yazdım. tek tek yapılacak

4) kaydedip kapatıp upload ediyorsun


Harfler
ı,ş,ğ,İ,Ş,Ğ
ý,þ,ð,Ý,Þ,Ð


örnek:
bul kısmına ğ yazdıysanız
değiştir kısmına ð yazıp tümünü değiştir diyeceksiniz.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 14.03.08, 19:17
Atari
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0
forumcad is on a distinguished road
çok ama çok sağolasın cedric. bir gündür benle uğraşıyor. beni tanımamana rağmen ilgin için çok teşekkür ederim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old 14.03.08, 22:53
Sempron
 
Join Date: Sep 2007
Location: Trabzon
Posts: 20
Rep Power: 0
sefilator is on a distinguished road
Send a message via MSN to sefilator
Bahsedilen Yedekler Vbulletin yedekleri ise phpmyadmin den hedef yedegi gösterdikten sonra alk kısımda utf-8 i latin1 olarak değiştiriseniz problem kalkacaktır.. aynı problemı bende yasadım bu sekılde kesın cozume ulastım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old 18.03.08, 00:46
misc's Avatar
WHM VIP Member
 
Join Date: Nov 2007
Location: Denizli
Posts: 283
Rep Power: 22
misc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond reputemisc has a reputation beyond repute
Send a message via MSN to misc
Code:
<?php
$FILE = "deneme.sql";
$CONNECT = @fopen($FILE,"r");
$FILESIZE = @filesize ($FILE);
$DATA = @fread($CONNECT,$FILESIZE);
@fclose($CONNECT);
$array = array (
"İ" => "İ",
"ı" => "ı",
"Ä�" => "Ğ",
"ÄŸ" => "ğ",
"Å�" => "Ş",
"ÅŸ" => "ş",
"Ç" => "Ç",
"ç" => "ç",
"Ö" => "Ö",
"ö" => "ö",
"Ü" => "Ü",
"ü" => "ü",
);
$NEWFILE = strtr($DATA,$array);
$FILE2 = "yeniveritabani.sql";
$OPENTO = @fopen($FILE2,"w");
$SETCHAR = @fputs($OPENTO,$NEWFILE);
@fclose($OPENTO);
 /* 
&#304 ;  = İ
&#305 ;  = ı
&#286 ;  = Ğ
&#287 ;  = ğ
&#350 ;  = Ş
&#351 ;  = ş
&#199 ;  = Ç
&#231 ;  = ç
&#214 ;  = Ö
&#246 ;  = ö
&#220 ;  = Ü
&#252 ;  = ü
*/ ?>
karakterleri değiştirip kullanabilirsin. aşağıdakiler unicode bu kodlarla hiç hata almazsın diyebilirim... php kodlarını x.php diye kaydedip sql dosyalarının isimlerini düzgünce yazarsan çalışması gerekiyor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü