Skip to content

first commit#1

Open
lisvasya wants to merge 13 commits intomainfrom
first-iteration
Open

first commit#1
lisvasya wants to merge 13 commits intomainfrom
first-iteration

Conversation

@lisvasya
Copy link
Owner

No description provided.

Copy link

@ivannizh ivannizh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Василиса, привет!

Хорошая работа, загрузка файла работает и происходить перекодирование.

Принято!

}

// Отправляем результат конвертации пользователю
w.Header().Set("Content-Type", "text/html")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чтобы не было кракозябр в браузере нужно так писать

Suggested change
w.Header().Set("Content-Type", "text/html")
w.Header().Set("Content-Type", "text/plain; charset=utf-8")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants