[완료] Joomla 에서 한글화 문제...

whitelazy의 이미지

현재 사용중인 버전은 1.0.13 입니다 한글화 파일 UTF-8로 된것 사용중입니다...
문제는 미묘하게 이게 반만 UTF-8로 동작한다는 문제입니다...
>>>여기<<< 를 보시면 아시겠지만..
(현재 이 서버는 EUC-KR로 돌고있습니다.. 원래 세팅중인 서버가 아직 외부접속이 안되서 이 서버에서 임시로 사용법 익히고 있는데 그것때문인지도...)
페이지는 EUC-KR로 표시되며 작성 년 월 일에다 요일까지 한글로 잘 표시가 되고있습니다.. 다른부분은 UTF-8이니 깨져서 나오구요...
문제는 이 작성일 로케일이 UTF-8이 아닌 EUC-KR로 동작한다는겁니다.. 한글화 파일도 UTF-8이고 ... 아파치 AddDefaultCharset을 UTF-8로 주고 해봐도 요일부분만 euc-kr로 출력됩니다..
요일 표시부분이 한글화 파일에 들어있는건 아닌것 같은데 혹시 이런문제 격어보신분 계신가요...
내일 낮에 가서 세팅중인 서버에서 다시 설치해 볼 예정이긴한데 (이 서버는 CentOS 4.5에 전부 UTF-8로 구동중...) 여기서는 이런문제가 없을듯도 하지만..
혹시 몰라서 질문드립니다.. php코드를 고쳐야하려나요..

whitelazy의 이미지

... 자문 자답합니다.. 이런 부끄러울데가..
이 스레드 올리고 확인 누르는순간 번뜩 생각나서.. -_-;;
서버에서 날짜 불러와서 mosFormatDate라는 함수로 스트링으로 변환하는가보군요... 이놈에서 변환할때 euc_kr로 가져오나봅니다..
생성 날짜 표시하는 부분에
$create_date = mb_convert_encoding($create_date, "UTF-8", "EUC_KR"); 요거랑
수정 날짜 표시하는부분에
$mod_date = mb_convert_encoding($mod_date, "UTF-8", "EUC_KR"); 요거 추가해줘 봤더니 한글로 표시되는군요...

이제 날짜 포멧이나 좀 연구해서 눈에 익은 모양으로 만들어야겠습니다 -0-;;;

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.