ไฟล์ที่เซฟจาก Editplus แบบ UTF-8 เอาไปเปิดใน Netbean ภาษาไทยกลายเป็นต่างด้าว ทำไงดีครับ

เริ่มโดย fogza, 25 กุมภาพันธ์ 2012, 22:11:27

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

fogza

มันมี explorer ที่แสดงพาร์ทไฟล์ต่างๆ ไหม๋ครับ
คล้ายๆ ของ editplus แบบรูปด้านล่างนี้ครับ

หรือเราต้องสร้าง project อย่างเดียว เพราะตอนนี้ได้แต่ Open File อย่างเดียว เวลาจะดูไฟล์อื่น ก็ต้องทำแบบเดียวกัน มันเสียเวลานะครับ   :P
:: สังคมจะดีได้ อยู่ที่เราทุกคน ไม่ใช่แค่ใครคนใดคนหนึ่ง ::


slasz

create project ขึ้นมา แล้ว import file หรือ folder หรือ ไม่ก็ copy ไปไว้ path ที่สร้าง project ก็ได้ครับ จะเป็นคล้ายๆๆรูปที่ copy มาดูโอเคไหมครับ
[direct=http://www.ilike-thailand.com]like thailand[/direct]
[direct=http://www.2bebeauty.com/]2bebeauty ชุดเดรสไปงานแต่งสวยๆ[/direct]
[direct=http://www.2bebeauty.com/]แฟชั่นเสื้อผ้าเกาหลี[/direct]
[direct=https://www.proudyourstyle.com/]Bunion Corrector Pain Relief[/direct]

slasz

หรือ อีกวิธีก็ click ขวาที่ project --> import --> General --> File System --> แล้วก็เลือก folder ที่เก็บ php ครับ
[direct=http://www.ilike-thailand.com]like thailand[/direct]
[direct=http://www.2bebeauty.com/]2bebeauty ชุดเดรสไปงานแต่งสวยๆ[/direct]
[direct=http://www.2bebeauty.com/]แฟชั่นเสื้อผ้าเกาหลี[/direct]
[direct=https://www.proudyourstyle.com/]Bunion Corrector Pain Relief[/direct]

fogza

แจ่มแจ้งเลยครับ ขอบคุณทั้งสองท่านเลย  :wanwan019:
แล้วมันมี theme ให้โหลดมาใช้เหมือน netbeans ไหมครับ
:: สังคมจะดีได้ อยู่ที่เราทุกคน ไม่ใช่แค่ใครคนใดคนหนึ่ง ::


slasz

theme เหรอคับ อันนี้ไม่เคยลองครับ ไม่รู้ว่าอยากได้ประมาณไหน แต่เรื่อง plug-in ผมว่าน่าจะเยอะครับ เพราะเป็น opensource
[direct=http://www.ilike-thailand.com]like thailand[/direct]
[direct=http://www.2bebeauty.com/]2bebeauty ชุดเดรสไปงานแต่งสวยๆ[/direct]
[direct=http://www.2bebeauty.com/]แฟชั่นเสื้อผ้าเกาหลี[/direct]
[direct=https://www.proudyourstyle.com/]Bunion Corrector Pain Relief[/direct]

fogza

theme แบบที่เราสามารถปรับเปลี่ยนสีพื้นหลัง สีฟังก์ชันต่างๆ นะครับ ปรกติจะกำหนดเองได้ แล้วก็ Import ไฟล์เข้ามาได้ ไม่รู้ว่ามีหรือปล่าว
:: สังคมจะดีได้ อยู่ที่เราทุกคน ไม่ใช่แค่ใครคนใดคนหนึ่ง ::


slasz

set สี background คร่าวๆๆประมาณนี้คับ

Window --> Preferences -- General --> Editors --> Text Editors --> Appearance color options เลือกเปลี่ยนสีได้ตามใจครับ 
[direct=http://www.ilike-thailand.com]like thailand[/direct]
[direct=http://www.2bebeauty.com/]2bebeauty ชุดเดรสไปงานแต่งสวยๆ[/direct]
[direct=http://www.2bebeauty.com/]แฟชั่นเสื้อผ้าเกาหลี[/direct]
[direct=https://www.proudyourstyle.com/]Bunion Corrector Pain Relief[/direct]

fogza

:: สังคมจะดีได้ อยู่ที่เราทุกคน ไม่ใช่แค่ใครคนใดคนหนึ่ง ::


slasz

เยี่ยมครับ ส่วนมากผมชอบแบบเดิมๆๆ แต่เปลี่ยนสีสันก็ดีอีกแบบ
[direct=http://www.ilike-thailand.com]like thailand[/direct]
[direct=http://www.2bebeauty.com/]2bebeauty ชุดเดรสไปงานแต่งสวยๆ[/direct]
[direct=http://www.2bebeauty.com/]แฟชั่นเสื้อผ้าเกาหลี[/direct]
[direct=https://www.proudyourstyle.com/]Bunion Corrector Pain Relief[/direct]

vii

http://forums.netbeans.org/topic42328.html

error: the file cannot be safely opened ... windows-874 ใน Netbeans

แก้ได้ด้วยวิธีนี้.. (ตามลิ้งค์ด้านบน)

เปิด c:\program files\netbeans\etc\netbeans.conf ด้วยโปรแกรมที่เปิดไฟล์แบบ linux ได้ เช่น notepad++
มองหา netbeans_default_options=
เพิ่ม -J-Dfile.encoding=UTF8 ต่อท้ายบรรทัดแต่อยู่ข้างใน "..."

ตัวอย่าง
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-Dfile.encoding=UTF8"

ป.ลิง. ตอบเพื่อเก็บไว้อ่านเองด้วย...  :wanwan011:
[direct=https://rundiz.com]PHP, HTML, JS, CSS[/direct]