๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

์ž‘์—…ํ™˜๊ฒฝ1

Java - ์ดํด๋ฆฝ์Šค ํ™˜๊ฒฝ ์„ค์ • ์ธ์ฝ”๋”ฉ ์ •๋ณด์˜ ํ˜•์‹์„ ๋ณ€ํ™˜ํ•˜๋Š” ์ฒ˜๋ฆฌ ๋ฐฉ์‹์„ ์˜๋ฏธํ•˜๋ฉฐ ๋ฌธ์ž ์ธ์ฝ”๋”ฉ์€ ๋ฌธ์ž๋“ค์˜ ์ง‘ํ•ฉ์„ ๋ถ€ํ˜ธํ™”, ์ฝ”๋“œํ™” ํ•˜๋Š” ๊ฒƒ์ด๋‹ค. ์ธ์ฝ”๋”ฉ ์„ค์ •์„ ํ•˜์ง€ ์•Š์„ ๊ฒฝ์šฐ ์ƒ์„ฑ๋œ ํ”„๋กœ์ ํŠธ์˜ ํ•œ๊ธ€์ด ๊นจ์ง€๋Š” ํ˜„์ƒ์ด ๋ฐœ์ƒํ•˜๊ธฐ ๋•Œ๋ฌธ์— ํ”„๋กœ์ ํŠธ ์ž‘์—…์‹œ ์ดํด๋ฆฝ์Šค์—์„œ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์˜ ์ธ์ฝ”๋”ฉ์„ ์„ค์ •ํ•ด์ค˜์•ผ ํ•œ๋‹ค. ์„ค์ •๊ฐ’์€ ํ•œ๊ธ€์˜ ๊ฒฝ์šฐ ์œ ๋‹ˆ์ฝ”๋“œ(Unicode Transformation Format - 8bit, UTF-8) ์œผ๋กœ ์ž‘์„ฑ. ์ธํ„ฐ๋„ท ์‚ฌ์ดํŠธ์—์„œ ๊ฐ€์žฅ ๋งŽ์ด ์“ฐ์ด๊ณ  ์žˆ๋‹ค. ์ดํด๋ฆฝ์Šค์—์„œ ์ธ์ฝ”๋”ฉ UTF-8๋กœ ์„ค์ •ํ•˜๊ธฐ ํ”„๋กœ์ ํŠธ ์˜คํ”ˆ ํ›„ ์ดํด๋ฆฝ์Šค ์ƒ๋‹จ ๋ฉ”๋‰ดํ‘œ์‹œ์ค„ [ Window -> Preference ] ์ƒ๋‹จ ๊ฒ€์ƒ‰์ฐฝ [ enc ์ž‘์„ฑ -> ์•„๋ž˜ ํ•ญ๋ชฉ์˜ Content Types ํด๋ฆญ -> text ํ•ญ๋ชฉ ์„ ํƒ ํ›„ ํ•˜๋‹จ ํ…์ŠคํŠธ ๋ฐ•์Šค์— 'UTF-8' ์ž‘์„ฑ ] ์™ผ.. 2023. 7. 1.