deploy failed due to error "invalid multibyte string at"

I wonder if there are any ways to upload my shiny app to even if there is chinese character in my code??

Cause i have tried several times to upload my shiny app but there is always error " invalid multibyte string at <8e><2c>", but using chinese in my code is inevitable.

Any help will be grateful.

R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950

2018-10-25T16:41:31.795611+00:00 shinyapps[522084]: Server version: 1.6.8-6
2018-10-25T16:41:31.795614+00:00 shinyapps[522084]: LANG: zh_TW.UTF-8

After I using rstudio server in Linux system (Ubuntu 16.04) to deploy my shinyapp, it worked!