ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • TIL | JAN 20(THR), 2022
    Developer blah blah/TIL _ WIL 2022. 1. 20. 17:42

     

    ๐Ÿ‘‰์˜ค๋Š˜ ํ•œ ์ผ

    1. 9:30 ๊ธฐ์ƒ

    2. ์–ด๋“œ๋ฏผ ํŽ˜์ด์ง€ ๋ฐ์ดํ„ฐ ํ…Œ์ด๋ธ” csv ์ถ”์ถœ ์„ฑ๊ณต

    3. ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œ ํ’€๊ธฐ

    4. 20:00 ํŒ€์›๋“ค๊ณผ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์Šคํ„ฐ๋””

    5. ๋ฐฑ์—”๋“œ ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง

    6. 2:30 ์ทจ์นจ

     

     

    ๐Ÿ“Œ๋‚ด์ผ ํ•  ์ผ

    1. 10:00 ํŒ€ํšŒ์˜ 

    2. ํ”„๋ก ํŠธ์—”๋“œ ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง

    3. ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ

    4. ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œ ํ’€๊ธฐ

    5. 20:00 ํŒ€์›๋“ค๊ณผ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์Šคํ„ฐ๋””

     

     

    ๐Ÿ”จ์˜ค๋Š˜ ๋งŒ๋‚œ ์—๋Ÿฌ

    1. csv ๋กœ ์ถ”์ถœํ–ˆ๋Š”๋ฐ, ํ•œ๊ธ€์ด ๊นจ์กŒ๋‹ค. 

    ์•„๋ž˜์™€ ๊ฐ™์ด "\uFEFF" ๋ฅผ ๋ถ™์—ฌ์„œ ํ•ด๊ฒฐ

    const korean = "\uFEFF";
    csv = korean + csv;

     

     

    ํ•ด๊ฒฐํ–ˆ์ง€๋งŒ ์ €๋ ‡๊ฒŒ html ํƒœ๊ทธ๊ฐ€ ๊ฐ™์ด๋‚˜์™”๋‹ค.

     

    ๊ทธ ๋‹ค์Œ์€ ๋ฐ˜๋ณต๋ฌธ ์ง€์˜ฅ... => ์ด ๋ถ€๋ถ„์„ ํ•ด๊ฒฐ ๋ชปํ•ด์„œ ์ฝ”๋“œ๋ฅผ ๋ฐ”๊ฟจ๋Š”๋ฐ, ๋‚˜์ค‘์— ๋ณด๋‹ˆ๊นŒ length๋งŒํผ ๋Œ๋ฆฌ๋Š” ๋ถ€๋ถ„์—์„œ ๋ณ€์ˆ˜๋ฅผ ๋‹ค๋ฅธ๊ฑธ๋กœ ์“ฐ๊ณ  ์žˆ์—ˆ๋‹ค.

     

    ์˜ค๋Š˜ ํ•ด๊ฒฐํ•˜๊ณ  ๋ณด๋‹ˆ๊นŒ 118๊ฐœ์˜ ์—‘์…€์„ ๋งŒ๋“ค์—ˆ์—ˆ๋‹ค ^__^ 

     

     

    ๐Ÿง™‍โ™‚๏ธํ•œ ์ค„ ํ›„๊ธฐ

    const success = ["csv", "admin", "!!!!"];

     

     

     

    'Developer blah blah > TIL _ WIL' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

    TIL | JAN 22(SAT), 2022  (0) 2022.01.23
    TIL | JAN 21(FRI), 2022  (0) 2022.01.22
    TIL | JAN 19(WED), 2022  (0) 2022.01.19
    TIL | JAN 17(MON), 2022  (0) 2022.01.17
    TIL | JAN 16(SUN), 2022  (0) 2022.01.16

    ๋Œ“๊ธ€

Designed by Tistory.