◽ Spring, SpringBoot

[Spring 기록] 다른 컴퓨터에서 import하여 작업 할 시 한글 깨짐 현상.

https://aljjabaegi.tistory.com/152

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    <filter>
        <filter-name>encodingFilter</filter-name>
        <filter-class>
            org.springframework.web.filter.CharacterEncodingFilter
        </filter-class>
        <init-param>
            <param-name>encoding</param-name>
            <param-value>UTF-8</param-value>
        </init-param>
        <init-param>
            <param-name>forceEncoding</param-name>
            <param-value>true</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>encodingFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
Color Scripter

푸터바