| From: | Ahmet Gunata <Ahmet(dot)Gunata(at)bimsa(dot)com> |
|---|---|
| To: | İbrahim Sarıçiçek <ibrahimsaricicek(at)gmail(dot)com> |
| Cc: | "pgsql-tr-genel(at)postgresql(dot)org" <pgsql-tr-genel(at)postgresql(dot)org> |
| Subject: | Re: Encoding sorunu |
| Date: | 2017-04-11 14:07:28 |
| Message-ID: | F1CA99F80E07434E854FF06AAAADAD0C011414E870@BIMEXCH03.bimsadom.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-tr-genel |
Merhaba,
Haklısınız, kullandığım yazılım nedeniyle sorunlu görünüyordu. Desteklene bir yazılımda açtığımda verilerin düzgün olduğunu gördüm.
İlginiz için teşekkürler.
Ahmet GÜNATA
DBA Takım Lideri / Veritabanı Yönetimi
DBA Team Lead / Database Administration
ahmet(dot)gunata(at)bimsa(dot)com <mailto:asdasd>
Sabancı Center Kule 2, 4. Levent 34330 İSTANBUL
Tel :0 212 385 8785 Cep : 0 530 322 7632 Faks: (0212) 385 88 88
[http://www.bimsa.com.tr/imza/16-fb.png]<https://www.facebook.com/bimsabiz>[http://www.bimsa.com.tr/imza/16-twitter.png]<https://twitter.com/bimsabiz>[http://www.bimsa.com.tr/imza/16-linkedin.png]<https://www.linkedin.com/company/bimsa> www.bimsa.com
[http://www.bimsa.com.tr/imza/bimsa-logo.jpg]
From: İbrahim Sarıçiçek [mailto:ibrahimsaricicek(at)gmail(dot)com]
Sent: Tuesday, April 11, 2017 4:24 PM
To: Ahmet Gunata <Ahmet(dot)Gunata(at)bimsa(dot)com>
Cc: pgsql-tr-genel(at)postgresql(dot)org
Subject: Re: [pgsql-tr-genel] Encoding sorunu
Merhaba,
Doküman da utf-8 olarak kaydedilmeli.
Windows'da notepad ya da notepad++ ile dokümanın encoding düzeltince bende çalışıyor.
2017-04-11 16:17 GMT+03:00 Ahmet Gunata <Ahmet(dot)Gunata(at)bimsa(dot)com<mailto:Ahmet(dot)Gunata(at)bimsa(dot)com>>:
Merhaba,
UTF-8 yapıdaki veritabanında yer alan bir tablodan COPY komutu ile bir CSV dosyası üretmek istediğim zaman Türkçe karakterlerin doğru çıkarılamadığını görüyorum.
B2C_DBase=# select version();
version
--------------------------------------------------------------------------------------------------------------
PostgreSQL 9.3.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4), 64-bit
(1 row)
B2C_DBase=# SHOW LC_CTYPE;
lc_ctype
-------------
en_US.UTF-8
(1 row)
B2C_DBase=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
------------+----------+----------+-------------+-------------+--------------------------------
……
B2C_DBase | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =Tc/postgres +
| | | | | postgres=CTc/postgres +
| | | | | xxxxxxxxxx=c/postgres +
| | | | | xxxxxxxxxx=c/postgres
……….
(9 rows)
B2C_DBase=# SHOW client_encoding;
client_encoding
-----------------
UTF8
(1 row)
B2C_DBase=# COPY exportme to '/tmp/exportme.csv' delimiters',' CSV HEADER;
COPY 376883
B2C_DBase=#
Dosya çıktısından bir kısım;
81214 ,bakım%50,bakımyüzde50,bakımyüzde50,8martindirim,ciltbakım15,bakimyuzde50,bakimkampanyali15
Bu konuda nasıl bir yol izlenmesi gerektiğini paylaşabilir misiniz?
Teşekkürler,
Ahmet GÜNATA
________________________________
This communication may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately by telephone or by return communication and delete it from his or her computer.
Bu ileti hukuken korunmuş, gizli veya ifşa edilmemesi gereken bilgiler içerebilir. Şayet mesajın gönderildiği kişi değilseniz, bu iletiyi çoğaltmak ve dağıtmak yasaktır. Bu mesajı yanlışlıkla alan kişi, bu durumu derhal gönderene telefonla ya da e-posta ile bildirmeli ve bilgisayarından silmelidir.
________________________________
This communication may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately by telephone or by return communication and delete it from his or her computer.
Bu ileti hukuken korunmuş, gizli veya ifşa edilmemesi gereken bilgiler içerebilir. Şayet mesajın gönderildiği kişi değilseniz, bu iletiyi çoğaltmak ve dağıtmak yasaktır. Bu mesajı yanlışlıkla alan kişi, bu durumu derhal gönderene telefonla ya da e-posta ile bildirmeli ve bilgisayarından silmelidir.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zafer Çelenk | 2017-04-19 05:10:36 | PostgreSQL şema kullanımı |
| Previous Message | Ahmet Gunata | 2017-04-11 14:07:14 | Re: Encoding sorunu |