Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RN 端通过浏览器加载的 jsbundle 中文编码格式错误 #9973

Closed
iChengbo opened this issue Aug 4, 2021 · 1 comment
Closed

RN 端通过浏览器加载的 jsbundle 中文编码格式错误 #9973

iChengbo opened this issue Aug 4, 2021 · 1 comment
Assignees
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x

Comments

@iChengbo
Copy link
Collaborator

iChengbo commented Aug 4, 2021

相关平台

React Native

使用框架: React

复现步骤

启动 server,浏览器访问 http://localhost:8081/index.bundle?platform=android

期望结果

jsbundle 中文正常显示

实际结果

中文编码格式错误

环境信息

👽 Taro v3.2.0-beta.2


  Taro CLI 3.2.0-beta.2 environment info:
    System:
      OS: macOS 11.2
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.5.0 - ~/.nvm/versions/node/v16.5.0/bin/node
      Yarn: 1.22.5 - ~/.yarn/bin/yarn
      npm: 7.19.1 - ~/.nvm/versions/node/v16.5.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.3.0 => 3.3.0 
      @tarojs/components: 3.3.0 => 3.3.0 
      @tarojs/mini-runner: 3.3.0 => 3.3.0 
      @tarojs/react: 3.3.0 => 3.3.0 
      @tarojs/runtime: 3.3.0 => 3.3.0 
      @tarojs/taro: 3.3.0 => 3.3.0 
      @tarojs/webpack-runner: 3.3.0 => 3.3.0 
      babel-preset-taro: 3.3.0 => 3.3.0 
      eslint-config-taro: 3.3.0 => 3.3.0 
      react: ^17.0.0 => 17.0.2 
      react-native: ^0.64.0 => 0.64.2 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x labels Aug 4, 2021
@zhiqingchen zhiqingchen self-assigned this Aug 4, 2021
@zhiqingchen
Copy link
Member

facebook/metro#695

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

2 participants